[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Scripting language takes a silicon turn
- From: Walter Cruz <walter.php@...>
- Date: Wed, 25 Jan 2006 17:17:34 -0300
Hello Mark - I will print the page about Switch on the lua-users wiki..
Thank you !
(I use lua only to myself and not to work - I just stumbled in Lua through SciTE )
Just one (maybe a naive) point. Sorry if it's 100% newbie.
- Learn a new language is not just learn the syntax of the new language and bring back the old language to the new. If you are learning a new language it's important learn the 'taste' of it, and learn its culture. - Last week I get a C code (a tool to compact _javascript_ code -
http://www.crockford.com/_javascript_/jsmin.html) and try to port it to lua. I began trying to recreate the same functions. After 10 or 15 minutes I found that I need make the code using lua syntax)
- By example - I'm not so sure about this, but looks to me that a common pattern on lua users is use short names to variables - like, k, v, m, and etc. So, when, I write lua code I use that variables name.
- I like the lua 'culture' - Including comment syntax, ~=, 'and' and 'or'. I know that allowing the C equivalents on Lua will make the things easier to the C, C++ developers, but lua sintax is not what make lua beautiful?
:)
[]'s
- Walter
- References:
- Scripting language takes a silicon turn, Vijay Aswadhati
- Re: Scripting language takes a silicon turn, Boyko Bantchev
- Re: Scripting language takes a silicon turn, Chris Marrin
- Re: Scripting language takes a silicon turn, Keith Wiles
- Re: Scripting language takes a silicon turn, Alen Ladavac
- Re: Scripting language takes a silicon turn, mnewberry
- Re: Scripting language takes a silicon turn, Tom Reahard
- Re: Scripting language takes a silicon turn, Brian Weed
- Re: Scripting language takes a silicon turn, Walter Cruz
- Re: Scripting language takes a silicon turn, Mark Edgar