3 ms·
Very interesting to read. And it raised the question in my head about immutable types. I like functional languages a lot and I like it if just everything is imm
by albertzeyer 16y ago
Very interesting to read. And it raised the question in my head about immutable types. I like functional languages a lot and I like it if just everything is immutable. Also, I like C++ where I just have everything mutable. But to have both immutable types and mutables types in one language always felt very inconsistent to me. Are there good reasons for this?
I put this question also on Stackoverflow:
http://stackoverflow.com/questions/3584945/non-technical-benefits-of-having-string-type-immutable http://stackoverflow.com/questions/3584945/non-technical-ben...