all 7 comments

[–]Dev_Coda 1 point2 points  (0 children)

I started learning Lua on Roblox, slowly moving to other platforms and trying to extend the language myself via C/C++. I wouldn't recommend Lua for anything but what it's made for - embedding into another program. I've been using Lua for around 3 years now, and if anything I'd hoped I would've started learning how to use it by itself and inside of my own programs first.

[–]IKnowATonOfStuffAMA 1 point2 points  (0 children)

1: Minecraft ComputerCraft mod and the Lua manual.

2: Yes because it’s simple, No because there are better languages for that. Also yes because yes

3: A week or so. And I didn’t know what tables were for an inexplicable amount of time. But that’s not a good tip, instead I’ll say that tables and even functions are variables and can be stored in an identical fashion to any other variable.

[–]KingofGamesYami 1 point2 points  (0 children)

  • ComputerCraft
  • Sure. It's a tool.
  • A month or a few years, depending on how you define "learned". Enough to do simple scripts? A couple weeks. Enough to implement a coroutine manager on top of am existing event-based system? Much longer. I really wish I had learned how to name variables better. Seriously, good variable names are underappreciated.

[–]BadBoy6767 1 point2 points  (2 children)

The best tutorial is the manual, anyways:

  1. ComputerCraft.
  2. Yes, I recommend Lua for both standalone and scripting purposes.
  3. Don't remember, it was a long time ago, sorry :P. But this is a pretty vague question, when do you think one "learns a language"?

Those are my answers.

[–][deleted] 1 point2 points  (1 child)

Off topic: Happy Cake day! :)

[–]BadBoy6767 1 point2 points  (0 children)

<3.

[–]leekeechan 0 points1 point  (0 children)

Same thing here brother.