Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Is there a "Lua Way"?
Started by gebloom May 25 2010 07:17 AM

- - - - -
2 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

gebloom

[GLOBAL: userInfoPane.html]
gebloom
  • Observer

  • 4 posts
  • Guests

Lua has some unusual capabilities that can easily confuse a newcomer at the least. There's a Ruby Way, there's Pythonic, is there a Lua Way?

I'm referring to techniques such as mixing table constructors, multiple vs single assignment, and referring to the same thing in different ways: associative arrays, dictionary, or hash. (I've seen all three in just three Lua tutorials).
uid: 6198 topic_id: 1060 reply_id: 301060


[TOPIC: post.html]
#2

MikeHart

[GLOBAL: userInfoPane.html]
MikeHart
  • Corona Geek

  • 1,278 posts
  • Corona SDK

Here are two links I used and still use in learning LUA:

http://www.lua.org/manual/5.1/
http://lua-users.org/wiki/TutorialDirectory
uid: 5712 topic_id: 1060 reply_id: 2616


[TOPIC: post.html]
#3

gebloom

[GLOBAL: userInfoPane.html]
gebloom
  • Observer

  • 4 posts
  • Guests

Thanks, Mike. I'm using that tutorial and Programming in Lua, Second Edition. Maybe I'll run into the Lua Way later in the texts.
uid: 6198 topic_id: 1060 reply_id: 2621



[topic_controls]
[/topic_controls]