5 ms·
> How many other languages have a Turing complete sublanguage built into them just to handle templating? On the bright side, C++ doesn't have obscure keywords
by nineteen999 7y ago
> How many other languages have a Turing complete sublanguage built into them just to handle templating?
On the bright side, C++ doesn't have obscure keywords like "cdr" and "car" that refer to specific hardware elements of an obsolete computer built in 1954.
- ridiculous_fish 7y agoNope, only trap representations, in case you are using an Itanium for some reason.
- nineteen999 7y agoTrap representations are an abstraction though, even if IA64 is one of the very platforms where they are used. CAR and CDR are literally named after CPU registers of the IBM 704.
- praptak 7y agoCar and cdr are a shallow critique of Lisp, the equivalent of "omg, significant whitespace" critique of Python.
- nineteen999 7y agoI was aiming for funny and accurate, not deep. Sad, for some, I guess that its heyday is long past, and that it will never ever rise to compete even with C/C++ commercially again, no matter how hard some people kick the dinosaur corpse.
- kazinator 7y agoSignificant whitespace is more of an issue than what two functions should be called. Significant whitespace means that we can't reliably use a traditional whitespace-insensitive diff to to compare changes in Python code that seriously change its meaning, such as change how many statements are in the scope of an if.
- msla 7y agoNo, C++ has obscure keywords like << which mean vastly different things, and can change, based on some invisible context.