4 ms·
Why do you call for and while statements "crazy"? Because it's possible to write them wrong? Because you think it's crazy to have to write them at all? Why?
by AnimalMuppet 12y ago
Why do you call for and while statements "crazy"? Because it's possible to write them wrong? Because you think it's crazy to have to write them at all? Why?
- agumonkey 12y ago> it's possible to write them wrong too easy languages to conflate a lot of logic into large side effectful statements. FP forces you to separate layers, and deforestation (when available) helps reclaiming space/time costs.
- AnimalMuppet 12y agoAll right, but "can be misused" is not the same as "crazy".
- agumonkey 12y agoAlright, that was my own misunderstanding of loop invariants and scope showing. That gave opportunity for traumas when I started reading imperative code.
- spacemanmatt 12y agoSeems fair to assume pp calls them crazy because they don't compose.