Re:You can't make C++ not ugly, but you can't not try (2010)
by praptak on Thursday February 27, 2020 @04:39AM
(#22431937)
Car and cdr are a shallow critique of Lisp, the equivalent of "omg, significant whitespace" critique of Python.
Re:You can't make C++ not ugly, but you can't not try (2010)
by kazinator on Friday February 28, 2020 @02:22AM
(#22441116)
Significant 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.
Re:You can't make C++ not ugly, but you can't not try (2010)
by nineteen999 on Thursday February 27, 2020 @05:24AM
(#22432124)
I 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.
Re:You can't make C++ not ugly, but you can't not try (2010)
by msla on Friday February 28, 2020 @02:36PM
(#22445621)
No, C++ has obscure keywords like << which mean vastly different things, and can change, based on some invisible context.
Re:You can't make C++ not ugly, but you can't not try (2010)
by ridiculous_fish on Thursday February 27, 2020 @01:45AM
(#22431186)
Nope, only trap representations, in case you are using an Itanium for some reason.
Re:You can't make C++ not ugly, but you can't not try (2010)
by nineteen999 on Thursday February 27, 2020 @02:01AM
(#22431266)
Trap 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.
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.