News for hackers. Stuff that matters.
Re:It's not what programming languages do, it's what they sh... by sgift on Friday March 27, 2020 @05:19AM (#22701371)
That's a myth. It teaches you to write code which is easily unit testable. That may be a better architecture than the one you would have used, but often it's just a different architecture, sometimes even markedly worse.

I have seen far too many code bases with simple things chopped up beyond recognition to make the code unit testable.

Re:It's not what programming languages do, it's what they sh... by anthonyrstevens on Friday March 27, 2020 @04:01PM (#22706270)
"[S]imple things chopped up beyond recognition" sounds like a hyperbolic argument to me. What is an example? When is the maxim "A function should do one thing well" not applicable?