2 ms·
So from that perspective functions are pure and procedures are impure? One of the thinga I miss from my C++ days was the ability to mark functions as const, wh
by magicalhippo 2y ago
So from that perspective functions are pure and procedures are impure?
One of the thinga I miss from my C++ days was the ability to mark functions as const, which made them fairly pure.
Being able to clearly mark which is which, but also to combine them easily, was very productive.
- zelphirkalt 2y agoYes, that is my understanding of the terminology, and how I try to use the terms (not always succeeding).