Understanding surprising JS syntax by visualising the parse tree:
https://ariya.io/2012/04/javascript-syntax-tree-visualization-with-esprima
Related Posts
I've released difftastic 0.59! In this release:
* Fixed a nasty crash on textual files
* Added F# and device tree support
* Improved comment syntax highlighting (especially for Elm)
https://github.com/Wilfred/difftastic/releases/tag/0.59.0
@krinkle A surprising number of PL design workarounds are "just add another equals sign" 🙃
Assertions are a surprisingly nuanced design space. In a test, if I assert `x < y`, I really want to see the values of x and y when it fails.
Do you define an API for every possible predicate (Python's assertLess, expect.js) or try to support the native syntax (c.f. pytest)?