Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> And the ability to get reliable parallelism for free - e.g. Java’s parallelStream - is not a feature of for loops.

This is the big one. For large datasets or computationally intensive processing the speed difference will be noticeable.

One of the issues with "cleverness" is also that code that's trivial for John Carmack to understand might not be for $BODY_SHOP_RESSOURCE_200353.

I recall a self taught dev (or maybe from a bootcamp) coming up with a cascade of nested if-else, nested 8 deep. Someone with a background in CS asked him what he was trying to do and basically concluded that what he was trying to do could be expressed as a state machine. To which the initial dev replied that it was "way too fancy" and that he didn't need the code to be fancy, just work.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: