4 ms·
33 lines of haskell is like 2000 lines of C
by jokoon 13y ago
33 lines of haskell is like 2000 lines of C
- DanWaterworth 13y agoI don't know if this is true, but when I'm writing things in Haskell, it feels like there's a better than linear decrease in line count compared to C. i.e. the larger the program, the larger the proportion of gain.
- dons 13y agoAbstraction power doesn't scale linearly in the number of tokens.
- qb45 13y agoAt my university OS course we once had to implement a usermode threading library in C. Not cooperative, but preemptive (signals), with all the required locking, signal masking, atomic_t's and so on. Mine was about 300 lines of C.
- stouset 13y agoGeorgia Tech?