GruGang / GruLang

MIT License
10 stars 0 forks source link

Immutability #9

Open b3nten opened 2 years ago

b3nten commented 2 years ago

So I'm thinking we make immutability a core part of the language. This would mean not including let / var keywords, and perhaps not even allowing the use of mutable array methods.

kubre commented 2 years ago

We can make immutability default like Rust. But add a modifier to make something mutable.