3 ms·
I can't buy into a language that uses colon for assignment.
by Virax 17y ago
I can't buy into a language that uses colon for assignment.
- cschep 17y ago+1, I had a really hard time reading through even the simple examples!
- bkudria 17y agoI thought it was kinda interesting. Do any other languages do this?
- klipt 17y agoMaxima does: http://en.wikipedia.org/wiki/Maxima_%28software%29 http://en.wikipedia.org/wiki/Maxima_%28software%29
- rdtsc 17y agoI like it. Using '=' for assignment makes less sense than using <- or := or : because traditionally (i.e. mathematically) '=' work like a declaration or a constraint. Then there is the confusion between = and == that has always resulted in countless bugs. Of course, assignment is a very common operation and I would rather use 1 char (:) for it rather than two (<-, :=).
- deleted 17y ago[deleted]