3 ms·
This is interesting. Go proclaims itself as a modern spiritual successor to C, but I think what you've done is much closer to that goal. BTW, if you're going f
by int_19h 8y ago
This is interesting. Go proclaims itself as a modern spiritual successor to C, but I think what you've done is much closer to that goal.
BTW, if you're going for immutability by default, perhaps swap := and =? Reason being, if variables are immutable by default, assignments should be far less common, so the language should discourage them with more verbose syntax over initialization of immutables.
Besides, C originally used = instead of Algol's := for assignments for the exact opposite reason - because assignments were more common in C code than comparisons - this would be a nice opportunity to fix that mistake.
- amedvednikov 8y agoI agree with you, but I want the language to be not too different from C/C++ and Go, to make the transition easier.