|
|
|
|
|
by YcombRegBroken
4733 days ago
|
|
Haskell (and most of the other languages mentioned) is exceptionally clever. This, above all else, is it's downfall. For me, especially when tasked with building a high productivity development team, clever code is a ticking time bomb. It's easy to write, but hard to maintain and modify. It requires more mental ram to analyze any given piece of code, and is much more difficult for multiple programmers to contribute to. It's tiny, to be sure, but, again, I think that is negative, not a positive. Maximum clarity is not minimal code. Go, on the other hand, is not clever. It's boring as hell, honestly. This is a Very Good ThingĀ® when it comes to building out a dev team, and I feel, the single biggest reason Google put the resources into creating it. As for the crashing, of course I see some dangerous areas. Educating developers on avoiding a small regions of pitfalls is much easier than managing a team of clever coders though. |
|
Using "Maybe a" when you have a nullable value is smart, not "clever". It aids maintenance and readability, not hampers it.
Using pattern matching is the same.
Haskell builds on mathematicaly simplicity, which makes things hard to grasp at first. This may be mistaken for cleverness.
Unless I'm misunderstanding you -- can you give an example of something clever in Haskell?