Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on TypeScript Is Surprisingly OK for Compilers. Parent comment
Python
compressor = lambda x: x / 2 compressor(5) helpful_compressor = lambda x: x / 2 helpful_compressor.help = "compressor" helpful_compressor(5) helpful_compressor.help
val compressor = (x: double) => x / 2 compressor(5) object helpfulCompressor { def apply(x: double) = x / 2 val help = "compressor" } helpfulCompressor(5) helpfulCompressor.help
There are no comments on this comment yet.
Python
Scala Ruby also has .call...but I can't remember it well enough