[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Local Variables
- From: Andrew Starks <andrew.starks@...>
- Date: Sat, 9 Aug 2014 09:34:09 -0500
On Saturday, August 9, 2014, Axel Kittenberger <axkibe@gmail.com> wrote:
Yes, it has been hughly debated.
I personally feel implicit anything by default is a stupid idea, since for somebody doing a project beyond the simple quick&dirty hack thats only ran once, typing a few chars more always compensates for a long debugging session, but oh well. Unfortunally languages are still often compared. debated and evaluated with "look I can do the same thing with even less characters, my language is cooler!"
"Stupid" was an unfortunate choice of words.
An important use case for Lua is as a configuration language:
window_height = 800
user_name = "Sally"
----
That's the entire program. In fact, Lua is anything but terse, lacking many sugary treats like "x++" and using "do / end" instead of "{}".
As is often the case when something looks"stupid", especially something as refined and meticulously curated as Lua, it's a good idea to question your own perspective, before publicly condemning it.
Of course, you are free to disagree. Please don't be disagreeable when you do it.
-Andrew