[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Idea. Removing nils from the language.
- From: Rob Kendrick <rjek@...>
- Date: Fri, 9 Jan 2015 17:24:29 +0000
On Fri, Jan 09, 2015 at 11:21:40AM -0600, Steven Degutis wrote:
> What would happen if you accessed a key in a table that it doesn't
> contain? Right now it returns nil. What would it do instead if we
> removed nil?
Be like Python, and drive programmers world-over by it being an error
condition, requiring every access to be wrapped in a check or exception
A side effect of this will be a notable increase in balding.