News for hackers. Stuff that matters.
Re:Go Turns 10 by lasagnaphil on Saturday November 09, 2019 @02:05AM (#21490101)
C++'s template metaprogramming was "found" as an accident, and is a very bad example of metaprogramming as a whole. (Techniques like SFINAE and CRTP seem more like a hack, and leaves a bad taste in your mouth when you use it.)

What we should talk about instead: hygienic macros in Scheme/Rust, AST-level modification in Nim, dependent types, etc. I think metaprogramming is an aspect of programming that should be explored more, and is definitely useful for reducing boilerplate.

There are no comments on this comment yet.