mfichman / jogo

High(er) performance compiled programming language with clean, powerful syntax
MIT License
6 stars 1 forks source link

Make everything immutable by default #69

Closed mfichman closed 11 years ago

mfichman commented 11 years ago

Local variables and instance variables should be immutable by default. Using the mutable keyword makes them mutable.

x mutable = 0
x mutable Int = 0