Today I learnt that gcc can mean 'Google Closure Compiler'. It's a sophisticated compiler, but I suppose its use cases are sufficiently non-overlapping with C compilers to avoid confusion. Surprised me though.
I knew that Haskell has an unconventional meaning for return, but today I learnt that return in Scala means something else too!
https://tpolecat.github.io/2014/05/09/return.html
It's a non-local return, so it returns from the *caller*! Wild.
Seems handy for Ruby/Smalltalk style blocks though.
Today I learnt that A* doesn't work for an arbitrary non-planar graph, you need additional structure:
https://stackoverflow.com/q/26568552/509706
This matches my experience with difftastic so far. The graph is non-planar and my best heuristic only matches Dijkstra perf in typical cases.
Neat elisp feature I learnt today: because closures are just lists, you can manually construct them and call them as functions:
(mapcar '(closure (t) (x) (1+ x)) '(1 2 3)) ;; => '(2 3 4)