For those curious about what Scala macros actually are: "This facility allows programmers to write macro defs: functions that are transparently loaded by the compiler and executed during compilation. This realizes the notion of compile-time metaprogramming for Scala." http://bit.ly/zeMjOb
HN user
baconserker
16 karma
Posts1
Comments5
Scala Macros: “Oh God Why?” 14 years ago
Scala Macros: “Oh God Why?” 14 years ago
The author doesn't even know what macros are: "I understand macros to provide two things (1) forced code in-lining and (2) a kind of non-strict semantics or lazy evaluation of arguments"
Google lobbies Nevada to allow driverless cars 15 years ago
Boom - it wasn't serious! It was meant to spark discussion on how on earth do these cars handle trickier aspects of driving on unmodified grids, such as traffic lights.
Google lobbies Nevada to allow driverless cars 15 years ago
Does Nevada have stop lights?
Scala's upcoming dynamic capabilities 15 years ago
It required a small language change, which I believe you can see in it's entirety here: https://lampsvn.epfl.ch/trac/scala/changeset/23993