Re:Bartosz Milewski - The Downfall of Imperative Programming
by siavosh on Monday April 09, 2012 @03:47PM
(#3818858)
I don't think it's just a matter of a junior programmer messing things up. To really maintain concurrent code, you have to fully grasp a lot of pieces in your head, like what's the correct locking order etc. This is huge mental debt that needs to be transferred between teammates. And if there's no testing for it, errors creep in. The largest source of heart burn in my career has been just this.
That said, I agree with you that imperative languages will be around for a long time to come.
Re:Bartosz Milewski - The Downfall of Imperative Programming
by bunderbunder on Monday April 09, 2012 @04:26PM
(#3819052)
In my experience, code for which the phrase "locking order" is applicable is frequently overdue for a refactoring.
The notion that dev shops will switch to fully-functional languages because a junior dev is bound to muck up the code base seems a little far fetched. That's a huge price to pay for what amounts to a warm fuzzy feeling of immutable certainty (pun intended).