4 ms·
This post also demonstrates the importance of exposing the powerful fundamentals. People are going to do crazy things anyway, so you might as well offer those p
by brandonbloom 11y ago
This post also demonstrates the importance of exposing the powerful fundamentals. People are going to do crazy things anyway, so you might as well offer those primitives rather than force people to contort the language to emulate them. This means intentionally designing tractable components rather than accidentally encouraging intractable abuse.
- yoklov 11y agoAgreed. None of this would be an issue with good support for normal compile-time metaprogramming, in the same language that the rest of the code is in, without restrictions (or, with as few restrictions as is possible). But thats obviously too much, at the very least, I'd want the language designers to understand the implications of the features you add when you add them. You'd think the C++ standards committee would have learned their lesson, after accidentally making templates turing complete. Even if templates are a great feature (and this is far from a universal opinion), that just means they got lucky.