News for hackers. Stuff that matters.
Re:Green vs. Brown Programming Languages by mnd999 on Thursday April 22, 2021 @10:36AM (#26903230)
Seems there's a lot of hate for Scala and Haskell regardless of the project? What is it with functional?
Re:Green vs. Brown Programming Languages by shadowgovt on Thursday April 22, 2021 @10:47AM (#26903370)
I've never seen someone succeed at giving an objective explanation. Anecdotally and subjectively, functional programming is a different type of thinking about a problem... Instead of breaking it down into stages, I'm almost breaking it down into a graph and figuring out how the nodes must connect. LISP is also like this.

I wouldn't be surprised if cognitive modeling shows that graph-manipulation engages different chunks of one's brain than step-by-step procedural description, but I do not know.

Re:Green vs. Brown Programming Languages by microtherion on Thursday April 22, 2021 @11:40AM (#26904008)
There might be a particularly strong Green/Brown delineation with those, with programmers loving to write code in them, but disliking to maintain other people's code.
Re:Green vs. Brown Programming Languages by notsureaboutpg on Thursday April 22, 2021 @10:38AM (#26903252)
Scala and Haskell are also in the most loved languages, why do you think there's a lot of hate for them?
Re:Green vs. Brown Programming Languages by erik_seaberg on Thursday April 22, 2021 @02:54PM (#26906648)
I think some people feel productive writing lots of code, while others feel productive learning ways to avoid writing lots of code.