3 ms·
Java without generics and lambdas was terrible. Yegge's https://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html https://steve-yegge.blogspot
by erik_seaberg 7y ago
Java without generics and lambdas was terrible. Yegge's https://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html https://steve-yegge.blogspot.com/2006/03/execution-in-kingdo... was spot on because the only way to pass an expression or a block of statements was to wrap it in an object and give it to something that knows which method to call.
- parasubvert 7y agoJava’s success was built in those days though. Personally I liked the language just fine without those features, Java generics in particular make code a lot less readable IMO. This is partly why I like Golang so much, they’ve been focusing on readability. I will agree that Lambdas are better than anonymous inner classes.
- checktheorder 7y ago>This is partly why I like Golang so much, they’ve been focusing on readability. Speaking as someone who's just returned to coding after a two-decade absence (mostly for fun), this is the #1 thing I love about Golang. I can actually read code from very experienced and skilled developers and understand what they'd written. And yet the language itself is highly capable - I don't feel like I'm learning some "beginner" language, but a "real" one that I can use for practical purposes.