I’ve been slowly learning C++ for a while now. But I would like to pick up a scripting language such as C# or Lua as well since most modern game engines usually limit you to using object oriented languages. I’ve heard C# might be a bit easier to learn since its syntax is similar to C++. But I’ve also heard some good things about Lua. Which one would you guys recommend?
Lua tends to be used all over the place. Honestly though, it wouldn’t hurt to learn both.
And although Python is most definitely not used for games and stuff like that, I really like it.
Really, syntax differences should not be an enormous factor when trying to learn a new language, IMO. Anyone who can code should be able to get the syntax right if the language is decently-documented with good reference material to work with. That’s my philosophy when picking up new languages. What you should be looking at is usefulness. Pick a project you want to work on, and choose one language that is specifically good for that project. If anything stands out, great. If not, then you can use other factors to decide.
C# is a programming language, not a scripting language. Javascript is a scripting language with syntax similar to C++.
You could try LISP.
You should learn Esperanto.
You could always learn some good ol’ LOLCODE.
HAI
CAN HAS STDIO?
I HAS A VAR
IM IN YR LOOP
UP VAR!!1
VISIBLE VAR
IZ VAR BIGGER THAN 10? KTHXBYE
IM OUTTA YR LOOP
KTHXBYE
HAI
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
AWSUM THX
VISIBLE FILE
O NOES
INVISIBLE "ERROR!"
KTHXBYE
In all seriousness - what you need to learn are the basics of programming. Like, what’s a variable, what’s a condition, what does “((true XOR false) OR false) AND true” evaluate to… Once you master the basics, you need to figure out what kind of a program you want to make, and then pick a language that is best suited for that purpose. When I need something very stable without a GUI for Linux, I pick C or C++. When I need to mock up a quick Windows GUI program, I go with Visual Basic. When I need to develop a web application, PHP is my friend… et cetera.
Welcome to the world of Unity Javascript scripting!
Javascript is such a pain sometimes. I never liked it. At least now most browsers have js debug features… So I guess I might try getting back into it again sometime.
If it’s a scripting language you want, there’s no excuse to learn anything aside from Perl.