Simen kjaeraas wrote:
Walter Bright <[email protected]> wrote:
My experience with shallow const (in C++) is that it's nearly useless. Most C++ code I've seen seems to rely on an implicit assumption of transitive const, but it isn't in the documentation and of course you don't know if it is upheld or not. This is not conducive to reliable FP.

I still remember my first reading about D const, and thinking
'What? Other const regimes aren't transitive? That's madness!'


I'm interested in what will happen with all these new languages adopting FP window dressing and concurrent programming features, but with no immutability and no purity. They're building a house on sand.

Reply via email to