4 ms·
And that's where functional programming languages are gaining over imperative/oo languages for multi-threaded behavior. Because you have the ability to break th
by dbcfd 13y ago
And that's where functional programming languages are gaining over imperative/oo languages for multi-threaded behavior. Because you have the ability to break the contract, it produces code that is harder to follow, harder to learn for beginners, and harder to debug in parallel/concurrent contexts.
It's a shame that this is more best practice. Hopefully the specification will address this in the future that you can only call const from const, and cast from const to non-const can't be used.