r/programming • • Jun 05 '18

Code golfing challenge leads to discovery of string concatenation bug in JDK 9+ compiler

https://stackoverflow.com/questions/50683786/why-does-arrayin-i-give-different-results-in-java-8-and-java-10
2.2k Upvotes

355 comments sorted by

View all comments

Show parent comment

1

u/tjsr Jun 05 '18

Not trying to be disagreeable, but I don't agree. However this may just come down to having decades of experience looking at those kinds of statements. While I certainly believe lambda expressions lead to some of the most unreadable code I've seen since I started a learning software development, simple statements that do two (sometimes more) clear things instead of just one while the same context all exists on the small elite is pretty straightforward to an experienced developer.