Lua treats nil and false as falsy values, but not 0 (unlike python and JS). So little agreement as to what should be falsy!
miniblog.
Related Posts
Uniform function call syntax treats `fido.bark()` the same as `Dog::bark(fido)`.
This seems like a really nice way of representing methods in a language. Are there any downsides? There are plenty of languages without this.
Difftastic treats syntax errors as just another token in the tree. It works surprisingly well!
I rather like how Scheme treats boolean literals (#f and #t) as syntactically distinct from normal variables. The syntax feels tidier than overloading variable names.
(Though I'm still amused that 0x12 is a valid variable name in emacs lisp!)
