3 ms·
This wasn't true in Java until 1.8 and the addition of Functional interfaces though. I wasn't trying to name any languages in particular but that was one. I've
by hardwaresofton 9y ago
This wasn't true in Java until 1.8 and the addition of Functional interfaces though. I wasn't trying to name any languages in particular but that was one.
I've seen java developers struggle with the concept of futures/promises while for web developers it was covered in Javascript 102 and they've been using them day in and day out for years. This was the benefit i meant.
Also, I wonder if anyone actually uses http://libcello.org/ http://libcello.org/
- pjmlp 9y agoWe are in 2018, Java 8 was released in 2014. Before we used anonymous classes for the same effect. Also plenty of developers on the Java platform are polyglot.
- hardwaresofton 8y agoJava was released in 1995, we're going to just ignore ~19 years of a consistent bad decision to make ergonomics worse for people who use the language? To be fair, good alternatives also haven't really existed for a long time either -- alternative languages on the JVM weren't popular, Golang and Rust didn't exist, C# required changing to a MS shop, ObjC was ObjC... But I'm not going to sit here and forget about a bad decision persisted for 19 years just because they fixed it 4 years ago. In that very specific case, Javascript did the right thing, from the beginning, and deserves to be praised for that individually.
- pjmlp 8y agoAs mentioned "Also plenty of developers on the Java platform are polyglot.". I never worked in a company of "Language X developer", rather developers that would use whatever language suited the project. Including mixing multiple languages on the same project if that would be the best approach. In those 19 years, JavaScript was mostly used to make graphics jump all around the page and form validation, hardly something worthy of high order functions and currying. Javascript, the language that was largely tolerated until a book called "JavaScript: The Good Parts" came out, in 2008.