News for hackers. Stuff that matters.
Re:About PayPal's Node vs Java “fight” by barrkel on Friday December 13, 2013 @04:07PM (#6902930)
C# is Java with perhaps 200% syntax improvement. The things I use most often with e.g. Ruby - monadic collection operations like map, select, etc. - is there in the form of Linq, with select, where, etc. A concise, type-inferred lambda expression goes a long, long way.

The .net ecosystem isn't as evolved as Java, for sure. But I don't think maven is a good implementation of a dependency management system either, nor is it particularly good as a build system.

Re:About PayPal's Node vs Java “fight” by edwinnathaniel on Friday December 13, 2013 @04:59PM (#6903151)
I still don't see any C# developers that are 200% more productive than Java developers due to limited infrastructure around the C# ecosystems.

Say anything about Maven but the recent discussion about embedding Bundler to Gem is just one step closer to be like Maven (now if they merged Rake+Gem+Bundler then Maven is). Even if Maven is not "good enough", .NET is thousand miles behind Java when it comes to dependency management and build system.

Google-Guava, as ugly as the syntax is, is good enough for most of us. Java 8 is around the corner so meh.

Re:About PayPal's Node vs Java “fight” by mattmanser on Saturday December 14, 2013 @06:57AM (#6905444)
Huh? C#'s had Nuget quite a while ago now.

Why are Java developers always like 5 years behind on C# improvements?

And build systems are something g you set up one afternoon, why are you so fixated on a tiny part of the programming process?

Re:About PayPal's Node vs Java “fight” by edwinnathaniel on Saturday December 14, 2013 @10:05AM (#6905827)
... And Nuget is always behind Maven.

... And C# devs always borrow patterns and best practices from the Java ecosystem, so I think it's you guys who are always 5 years behind us.

... If you're using MSBuild or Nant and can set up an adequate build system in one afternoon, either your project is super simple crud, or you're not using enough tools to ensure proper engineering/verification, or you're the top 5-10% people who can bent .net build tools according to your needs, or you're exaggerating.

If you think that we shouldn't sweat over build scripts then that seems to be a hint that you have not dealt with large projects.

Re:About PayPal's Node vs Java “fight” by runT1ME on Friday December 13, 2013 @07:57PM (#6903947)
>monadic collection operations like map, select, etc

There is nothing 'monadic' about select. SelectMany yes, but not Select. That's equivalent to map in other languages.

Re:About PayPal's Node vs Java “fight” by tel on Saturday December 14, 2013 @08:49AM (#6905666)
Sure there is! Monads generate liftM, so if you live in a place so bereft of explicit semantics as to call major parts of your standard library "monadic" without specifying which monadic context to which you refer... Then you may as well drag functor and Applicative along with you.

The weakening of the concept is inevitable now that everyone has been taught to not be afraid of it even if they have no clue why it exists.

Re:About PayPal's Node vs Java “fight” by olavgg on Friday December 13, 2013 @06:50PM (#6903590)
Any language today that still requires to mark end of line with a semi colon, has in my opinion outdated syntax. Most people put one statement per line, so why is it required and not optional?
Re:About PayPal's Node vs Java “fight” by katbyte on Saturday December 14, 2013 @12:46AM (#6904798)
just guessing but if all statements are terminated with a ; instead of a newline it allows statements to be split up into multiple lines?
Re:About PayPal's Node vs Java “fight” by devdas on Friday December 13, 2013 @07:15PM (#6903724)
What about the counter case of one statement needing more than one line?
Re:About PayPal's Node vs Java “fight” by hhw on Saturday December 14, 2013 @07:59AM (#6905569)
1) Line length is arbitrary, and there is no finite limit 2) You can have an escape sequence for a new line

With that said, I disagree that having to mark the end of a statement with a semi-colon is obsolete syntax. Statements and lines should not have to be 1-to-1, even if most code is written as such.

Re:About PayPal's Node vs Java “fight” by _random_ on Friday December 13, 2013 @06:54PM (#6903613)
And some languages don't check types for you before running the code and it's almost 2014 now, can you imagine?
Re:About PayPal's Node vs Java “fight” by barrkel on Friday December 13, 2013 @07:59PM (#6903955)
Ruby, Python, even PHP checks the types of values before executing operations on the values.
Re:About PayPal's Node vs Java “fight” by keypusher on Saturday December 14, 2013 @03:40AM (#6905149)
That's not true, at least with Python. It uses duck typing, there is no type check before execution. It just runs the code you give it, if you try to call a method that doesn't exist (split on a integer), it will just give an error.
Re:About PayPal's Node vs Java “fight” by rbanffy on Friday December 13, 2013 @10:06PM (#6904394)
Exactly. They check the types. They don't burden the programmer with such tasks.