No problem, I can tell you that Lua is really fun, but if it’s frustrating don’t give up. Success is only made sweeter by failures!
Thanks, I do use other languages so I’ll give lua a shot.
Lua is rather straight forward.
I’d say its the most straight forward language.
Compare it with most other languages you will find how much friendlier it is.
At least this:
DoSomething = function()
end
if 3==4 then DoSomething() end
Is easier to understand than something like this:
def DoSomething():
if 3==4:
DoSomething()
And is a lot clearer than something like this:
public class Main {
static void DoSomething() {
}
public static void main(String[] args) {
if (3==4) {
DoSomething();
}
}
}
Lua was a bit interesting for me to learn as I’m used to Java like languages, but it wasn’t that hard
Lua is probably the easiest language I’ve ever seen (and pretty enjoyable), if you’ve been programming for the past 2 years, you can basically cover everything and get advanced in a week.
If you put your mind to it and really want to do it, then it gets less painful. If you know some simple code already, then that should help you depending on the language.
It’s not the hard to learn, you just have to learn what the functions and thingys do, and that’s all, it’s actually really fun too!
I’m more of a builder than a scripter. Though I have tried to script to help my building or models be better. If you were to mess up one part of the script you wouldn’t know unless you were experienced to understand what is wrong. Plus the most smallest mistake in a script could cause it to not work either.
That uses a class, which is actually a great example of where Lua is lacking. I’m not sure that’s the best example to bring up when you’re talking about it being easy, since you have to dive into metatables instead of just doing class child(base):
(which is what most languages would do, obviously with slightly different formatting).
Its very simple, if you know Python, Lua should be easy for you. Lua is fun to program with and I actually prefer using higher level languages(more human readable languages) over low level languages (C++) due to the enjoyment of the simplicity of programming with them.
Lua is in itself not hard to learn. Using Lua efficiently, like any programming language, is something you gain through experience. If you learn one programming language you basically have learned them all. I learned Java and then taught myself Lua in just a few days. Programming is a kind of art. Anyone can program something to do something, but how well it performs the task introduces skill.
In general, no language is impossible to learn. Lua in a way is “easy” compared to other existing languages because it does not have as much content as the others. It is interesting that you already have experience with programming through other languages, but that does not stop you from being your first Lua. I have been programming for 5 years now, and I learned Lua about 2 years ago, and in a way it was quite easy for me to absorb the language, since I also identified components in it that were in other languages. What I really recommend to you so that if you really want to learn to program on the Lua is that you are always following the forum, watching videos, existing projects and others. I definitely don’t recommend getting ready scripts and you just change the values and say you already know how to program. You can actually get the script ready and understand the reasoning of that programmer. There are many different methods that you can learn, but it goes from person to person.
This depends on your past experiences. I found that the transition from Lua to Javascript was relatively easy and actually increased my abilities in Lua.
I’d say it is not hard to learn, but it realistically takes time to get good at like anything else. I’ve been at it for close to 5 years and still haven’t learned everything. Now if you pour 24 hours a day into it, you’ll pick it up very quickly, unlike myself who treats it as a hobby.
IMO its easier to learn compared to other languages, but the real issue is how you’ll respond to learning a more complicated language coming from Lua/Python. You can still do it, but I’d expect it to be much more challenging coming from a more “relaxed” language.
Though to answer your question with more detail, if you know Python then Lua should be pretty easy. They share a significant amount of similarities as far as syntax goes.
Any programming language is very hard to learn if you’ve never programmed before. The notion that it’s “easy” is only in relevant for those who already know it or already know another language.
Learning to program has a large learning curve. It’s not easy. It will drive you a bit crazy. But it’s one of the most rewarding skills to learn.
Think of it like learning to play an instrument that you’ve never seen anyone play before (because you’ve probably never seen someone actually program–just the results).
I’ll say that it is easy to learn. Just hard to put into practice(meaning getting the desired result of what you want to achieve sometimes takes a while especially when there are dumb bugs).
It depends on what ‘league’ we are speaking about. At the beginning, things will be simple, but later, things just get harder, and harder. As many of the people who responded here already pointed out, there is a significance for background in programming, experience with languages like Python, C#, et cetera. Having a background of other programming languages (better languages with API similar to Lua’s), could make Lua easier for you to learn.
You can learn any programming language in a few hours, but to be fluent and efficient in it it can take months or years. While lua is on the easier side of programming languages it doesn’t really have a “similar” programming language, it’s kinda it’s own thing.
While python is probably the closest, you could make the argument that knowing any programming language makes another one easier to learn.
Yea, for like me a person who has a hard time learning, it was easy to understand and to learn but to actually script I could forget what goes next in my line of code. But I am getting there… shorta
Lua is the first programming language I know (since Roblox was my first experience with coding), and I can’t really answer that question, but looking back now, it is easier compared to some of the languages I have learnt, like Java and C++. I would rate the difficulty as comparable to Python, so if you know Python, then learning Lua shouldn’t be too difficult.
However, if you are coding for Roblox, the hard part isn’t learning Lua (although it might seem that way initially), but it is actually understanding how the Roblox Engine works. However, depending on what parts you want to code, it shouldn’t be too difficult. If there is something I do want you to learn that could come in handy is knowing the different between the Client and the Server, and how to code for each and communicate between them. This way, you can do pretty interesting stuff, like my Roblox Place “Local Time Test”, for example. This place allows you to see the local time of everyone in the server, and the time of day in the game changes based on your local time.
The place is heavy on Client-Server communication, especially for the time displays on each player. The place is open-sourced (i.e. uncopylocked) so you could see the exact code I have written in this place and thus how I got to do some cool stuff, like allowing each player to change how they see everyone’s time (either on a 12-hour clock or a 24-hour-clock).
Anyways, I hope you enjoy coding on Roblox, if you plan to ever do so.