▲ | rr808 5 days ago | |||||||||||||||||||||||||
> IME is a bigger foot gun than Pretty much true for any functional feature. Great in the classroom, less practical in the real world. | ||||||||||||||||||||||||||
▲ | SJC_Hacker 5 days ago | parent [-] | |||||||||||||||||||||||||
Trying to be as functional as possible I think has great benefits in the "real world". Functions are very easy to unit test, for one. Pure functional is difficult, but breaking out the parts of the program which can be pure functional is generally a smart thing to do If I had drive and ability the to make a programming language from scratch, it would be hybrid imperative/functional, and "pure" functions (no side effects, EXCEPT possibly debug logging) would be clearly marked as such. | ||||||||||||||||||||||||||
|