News for hackers. Stuff that matters.
Re:Why does Lisp use cons cells? (1998) by Majromax on Friday October 04, 2024 @09:19AM (#41741084)
Your point and the grandparent's point are not contradictory. 'car' and 'cdr' can be opaque pieces of jargon that make the language slightly but noticeably more difficult for new learners, and they also can be standard pieces of jargon that current users would find no value in changing.

In that way, it's a bit like indentation in Python.

Re:Why does Lisp use cons cells? (1998) by pfdietz on Friday October 04, 2024 @12:51PM (#41743246)
I think this illustrates that perceived shallow blemishes that upset newbies have nothing to do with success or failure of a programming language. Another example here is "all those parentheses", and perhaps even lack of static typing.
Re:Why does Lisp use cons cells? (1998) by kerkeslager on Friday October 04, 2024 @10:24PM (#41747271)
It's a shallow blemish yes. I wouldn't say is has nothing to do with the success or failure--but as I said in my post, it kind of doesn't matter much.

The problem I have here is this total unwillingness to admit that it is a blemish. Like because Common Lisp did it, it can't be wrong, so we have to come up with bizarre justifications for this like pretending some ancient hardware architecture is better than today's "braindamaged" CPUs.

Re:Why does Lisp use cons cells? (1998) by pfdietz on Saturday October 05, 2024 @06:46AM (#41748961)
I don't think anyway says it isn't a blemish. The point being made is that it's a trivial, irrelevant, and unimportant blemish.
Re:Why does Lisp use cons cells? (1998) by kerkeslager on Saturday October 05, 2024 @08:40PM (#41753877)
The way Naggum presents it, it's as if it is not only not a blemish, but a work of genius.
Re:Why does Lisp use cons cells? (1998) by pfdietz on Sunday October 06, 2024 @08:01AM (#41756514)
If I wanted to nitpick, I'll point out that I used "says", not "said". In the present tense, Naggum can no longer say anything at all. :/
Re:Why does Lisp use cons cells? (1998) by zahlman on Friday October 04, 2024 @04:30PM (#41745290)
I would say that it's more like the `def` keyword in Python. People learn that it's short for "define" - but that doesn't make much sense given that other kinds of things can perfectly well be "defined". It also leads to beginners expressing themselves weirdly - I've read things like "so I have a defined function like so:" countless times.
Re:Why does Lisp use cons cells? (1998) by theonemind on Friday October 04, 2024 @05:03PM (#41745560)
What do you find strange about someone saying they defined a function?

Just curious. I can't find anything strange about the wording or conceptual understanding likely behind such a statement.

Re:Why does Lisp use cons cells? (1998) by zahlman on Saturday October 05, 2024 @12:20PM (#41750956)
Not "I have defined a function", but "I have a defined function". As if they think that "defined" is part of the terminology.