[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Idea. Removing nils from the language.
- From: Udo Schroeter <udo.schroeter@...>
- Date: Sat, 10 Jan 2015 00:19:15 +0100
On Saturday, January 10, 2015, Kevin Clancy <firstname.lastname@example.org> wrote:
If that's the definition of nil, then what is the definition of null? They seem like the same thing to me.
I think most people associate null with C null pointers. They're different from (and more dangerous than) high level scrpting nils. In a dynamically typed language, nil can be an exceptionally useful concept. I'm far less sure about the role of C null in a statically typed language (which, I believe is conceptually closer to what he refers to as the huge mistake).