5 ms·
If you squint a little the ^ looks like a lambda with the top missing. The syntax thus makes sense to me. Whether to write: hello = lambda (name) { "Hello " +
by soegaard 15y ago
If you squint a little the ^ looks like a lambda with the top missing. The syntax thus makes sense to me.
Whether to write:
hello = lambda (name) { "Hello " + name }
hello = ^ (name) { "Hello " + name }
hello = function (name) { "Hello " + name }
is just a color of the bike shed decision.
- shin_lao 15y agoNot really, "^" is too dense and very different from natural language (if the target is beginners, otherwise you're right).