CodeNewbie Community 🌱


Posted on

Learning a bit about... Lua


I've been spending my Saturdays doing tutorials on languages I'm curious about. This week it's Lua.

What I knew about the language before I started

  • I programmed in it last week when I did Love2D, so I have an idea about what's going on with it

What I did

Lua Crash Course - Less than 15mins

This is a short guide for people who know other languages. At first I was disappointed that he'd made a cheat sheet and just talked through it, but it actually worked really well because it's like other languages and it was mostly a case of talking through the differences.

All the other tutorials I could find either covered Love2D or were designed for people who had never programmed before.

What I thought about the language

I really like it. It's a really simple language: no curly brackets, lots of English, and its equivalent of arrays starts counting at 1. Which is totally logical, but I can see it would be so confusing if you're used to starting at 0.

I said last week that I wanted to do some more Love2D and now I know Lua better, I definitely want to, because it's a wonderfully easy language.

What's next?

C#. I technically learnt this once, but never used it and have forgotten everything about it. So I am curious to find out about it.

Oldest comments (0)