Skip to content

Comment on Scala Macros: “Oh God Why?”parent

Comments

Scala already has @inline and call-by-name, so it doesn't need macros for either purpose.

Macros in Scala are primarily of interest for metaprogramming; it's a fairly natural direction for Scala to take, given that Scala has always positioned itself as a language that supports internal DSLs.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.