Alexandre Blondin Massé
Alexandre Blondin Massé
Since one can declare variables (var), functions (fun), classes and interfaces, why not add a keyword const or cons to Nit when declaring constants? It would essentially be the same...
+1 for val instead of cons/const. I also agree that enumerations should be done before 1.0. Considering the implementation, it should probably be with integers in the background (for efficiency...
Yes, I'm on Mac OS 10.10.3 (Yosemite). But even when I do `nitc rand.nit && ./rand`, I still get the same numbers.