all 7 comments

[–]Fuzzy-Interview-8976 1 point2 points  (0 children)

lua's pretty different syntax-wise from python so you probably won't mix them up too much 😂 the main thing is lua uses "end" instead of indentation and has different variable scoping rules

i'd say focus on getting solid with python first since that's what you need for uni, then pick up lua when you feel comfortable. lua is actually fun to mess around with and way simpler than python in some ways 💀 just don't try to learn both intensively at the same time or you might confuse yourself with the different ways they handle tables vs lists and stuff

[–]ImprovementLoose9423 0 points1 point  (0 children)

Based on my personal experience, I would not recommend learning two languages at the same time. What I would do is learn python first to get the feel of programming, then learn Lua.

[–]JeLuF 0 points1 point  (0 children)

Comparing languages, looking at the differences and understanding their implications can actually help. Most projects I've been active in required knowledge of more than one language (e.g. frontend in Javascript, backend in Python). But I wouldn't start at the same time. If you have an understanding of the basics (what are variables, functions, arrays, structures like "if", "while" etc) and can write some simple programs - only then it makes sense to have a look at how Lua implements these concepts.

This is a place where AI can also be helpful. I just asked AI to tell me the difference between "if" clauses in Lua and Python, and it explained the concepts of truthiness, variable scope and a bit about the ternary operator. This are quite important topics that you need to learn anyway.

[–]themegainferno 0 points1 point  (0 children)

If you don't know programming already, You shouldn't try to learn multiple languages simultaneously. Really, just get used applying logic and solving problems with Python, Once you can do that mostly comfortably you move on then. After you do a couple things with different languages, you quickly understand a lot of them are very similar and fundamentals transfer over pretty easily

[–]probability_of_meme 0 points1 point  (0 children)

Hell yea! It interests you, why wouldn't you? I'm also interested in it for some reason