News for hackers. Stuff that matters.
Re:Learning Python and Haskell has not improved my programmi... by tluyben2 on Sunday August 11, 2019 @07:34AM (#20667665)
This article does not age well. Especially the C# stuff...

Also, using Haskell 'very little' will not give you the experience you need to write something like this. Haskell has a (very) steep learning curve and you need to recognize ways to solve problems and to see the elegance (and the warts as well by the way). That takes time and effort; maybe there are people who just get it, I am definitely not one of those people, but the work, for me, was definitely worth it.

Re:Learning Python and Haskell has not improved my programmi... by ChrisSD on Sunday August 11, 2019 @07:53AM (#20667717)
The article agrees that it made the author a better programmer. The argument they're making is that it made them a worse C# developer. Their Haskell experience allowed them to see the specific problems with their C# code but didn't give them the tools to fix them because functional programming isn't (or wasn't) idiomatic C#.
Re:Learning Python and Haskell has not improved my programmi... by dethswatch on Sunday August 11, 2019 @08:04AM (#20667753)
The c# code is ancient at this point and doesn’t use linq, which remedy his issues.

The language has added significant functional capabilities in the last 13 years...

Re:Learning Python and Haskell has not improved my programmi... by uryga on Sunday August 11, 2019 @08:16AM (#20667798)
why hasn't it aged well? re: c#, afaik LINQ would solve this particular problem, so perhaps the solution wouldn't be as verbose nowadays. but other than that it still rings true – I miss Haskell when doing Python and keep coming up with weird hacks to shoehorn functional stuff into it (ask me about the time i used async/await to implement something like do-notation...) which probably makes me a "worse" python programmer, same as TFA
Re:Learning Python and Haskell has not improved my programmi... by tluyben2 on Sunday August 11, 2019 @08:27AM (#20667846)
The c# examples he wrote down, not c# itself! I cannot imagine anyone writing this article without LINQ which is what I meant.