News for hackers. Stuff that matters.
Re:Green vs. Brown Programming Languages by ed25519FUUU on Thursday April 22, 2021 @11:21AM (#26903747)
> I forget where I heard this joke, but you give a Java programmer some specs and he'll spend 4 hours writing code, whereas the Haskell programmer will spend 3 hours and 55 minutes meditating, then write a 10 line solution.

Given the choice of reviewing and maintaining one versus the other, I’ll take unwashed Java code any day. I’m not a fan of enlightened, esoteric solutions.

Re:Green vs. Brown Programming Languages by smabie on Thursday April 22, 2021 @11:50AM (#26904143)
Reviewing 10 lines is likely easier than reviewing 500 lines that do the same thing.

Also something that is beautiful is not necessarily esoteric (though esoteric isn't really meaningful anyways. Chinese sounds esoteric to me just like English sounds esoteric to others).

But it really comes down to experience, not the qualities of the language. A professional in both Java and Haskell would most definitely prefer a few line Haskell solution vs a massive Java solution. Just like they would prefer a few line Java solution over a massive Java solution.