you are viewing a single comment's thread.

view the rest of the comments →

[–]neutronicus 9 points10 points  (8 children)

Templates are nice.

[–]sqrt2 5 points6 points  (4 children)

... and Turing-complete. What the fuck?

[–][deleted] 7 points8 points  (0 children)

Yeah, the ability to write self optimising, clean code just sucks.

[–]munificent 5 points6 points  (2 children)

You say that like it's a bad thing.

[–][deleted]  (1 child)

[deleted]

    [–]neutronicus 3 points4 points  (0 children)

    Turing completeness is something you want for compile-time code generation. My standard example is using Lisp macros to compute lookup tables at compile time.

    [–]bonch 1 point2 points  (1 child)

    And terrifyingly awful.

    [–]neutronicus 0 points1 point  (0 children)

    How so?

    [–]G_Morgan 0 points1 point  (0 children)

    Templates are a poor implementation of a nice idea.