3 ms·
The author says it himself: > Haskell code sucks, therefore Haskell sucks.” No, poorly organized code sucks. If that code happens to be written in Haskell, don
by shadowmint 14y ago
The author says it himself:
> Haskell code sucks, therefore Haskell sucks.” No, poorly organized code sucks. If that code happens to be written in Haskell, don’t shoot the messenger.
Basically, yes.
Not all callbacks are harmful. Not all goto's are harmful either; you can write both elegant and maintainable code using both.
That is not that point. It's like saying you can write elegant and maintainable code in assembly. Yes you can (no, really. I've actually seen some. :P)... but tangibly in real world situation is that how it usually plays out?
By tacitly (some might argue expressly even...) supporting callbacks, are these modern frameworks leading to in general an improvement in code quality or a drop in code quality, compared to the non-callback based code.
That isn't an intangible. It's empirically measurable, and I'd love to see some code metrics off git hub that measured it.
Waxing lyrical about how how callbacks can be used for the Forces of Good by Clever Programmers doesn't really impress me. So can auto-generated xsd -> C# code (I suppose) in the right circumstances.
Less arm-chair talking on both sides please; back your assertion up with some data.
- iSnow 14y agoUhm, I suppose the ball is in your court. If you believe this must be decided empirically, you'd better curl all the github.
- pepve 14y agoWhat metrics can we use?
- jrajav 14y agoCan this elegant and maintainable assembly code be found online anywhere, and do you remember where? I've just started to pick up nasm and armv7, and I'm very interested.
- throwaway64 14y agoyou might want to take a look at MenuetOS, its written in x86 assembly, and expressly created for clarity and learning. http://www.menuetos.net/ http://www.menuetos.net/