Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
The Overview
There are a lot of programming langues, but we will only cover the most
popluar ones here (based on the TIOBE Index):
Java
C
Objective-C
C++
C#
PHP
Visual Basic
Python
Ruby
Perl
JavaScript
Bash
Lisp
SQL
Delphi
Lua
Assembly
Object Oriented means that the language works with objects, like
Player(which has health and mana), Monster, World and so on. Object
oriented languages usually deal with Objects all the time, for example
when adding a Player to the World. Object Oriented languages are
usually easy to learn and understand.
https://noobtuts.com/articles/programming-languages-overview 1/7
11/14/2019 noobtuts - Programming Languages Overview
Java
Java is a object oriented programming language. It runs about
everywhere, writing code can be very comfortable due to the Eclipse
IDE. The code is executed in a Virtual Machine and sometimes Java
programs can take a whole lot of RAM. Java is a good choice for a whole
lot of fields. While it's not always optimal, it's still often a solid choice.
C
C is a very system near language, completely without objects. We can do
a whole lot of crazy things, like developing operating systems or
creating drivers for our hardware. Of course making games is possible
too. The language itself is loved for its simplicity, yet it can be hard to
learn and managing your our own memory or messing around with
Pointers easily leads to bugs in the code.
Objective-C
Objective C is similiar to C, but with Objects.
C++
C++ is like Objective-C, just with a whole lot of more features. There is
an endless discussion going on about if this is a good or a bad thing. If
you like simplicity, then this is a bad thing. Due to the language being so
incredibly complex, reading other peoples code is hard. Say that we
want to use someones physics library in our game. This task can be so
incredibly frustrating in C++, it can easily take a week of fixing linker
errors (even if you already know C++ for 6 years or so).
https://noobtuts.com/articles/programming-languages-overview 2/7
11/14/2019 noobtuts - Programming Languages Overview
void test()
{
std::vector<Player> playerList = new std::vector<Player>();
playerList.push_back(new Player("SomeName"));
playerList.at(0).moveTo(new Vector3(1.0f, 2.0f, 3.0f));
Player* ptr = &playerList.at(0);
ptr->moveTo(new Vector3(2.0f, 3.0f, 4.0f));
}
C
C# is pre y much Java reinvented by Microsoft. There are a few li le
differences, but the syntax is almost exactly the same. C# uses the .NET
framework a lot, which is a big library of functions developed by
Microsoft. If you are a fan of Microsoft, then this might be a good
language for you.
PHP
PHP is mostly used for web servers. If we open a website in our
browser, it's very likely that the site was created by some PHP code
running on the webserver. PHP can come in handy when making
browser games, but for the common singleplayer 3D game it's not very
suitable.
Visual Basic
VB is a event driven programming language developed by Microsoft.
VB had its peak a few decades ago in a lot of Windows programs.
Microsoft has stopped supporting it in 2008, hence why the language is
slowly dying.
Python
https://noobtuts.com/articles/programming-languages-overview 3/7
11/14/2019 noobtuts - Programming Languages Overview
A lot of programmers fell in love with the Python language. It's a rapid
development language, which means that it saves us a lot of time when
developing programs. It works well with functional programming
styles, but object orientation can be used as well. One of the major
characteristics of the language is the importance of intendention to
organise blocks of code. Python is a general purpose language, and it's
definitely worth a look no ma er what you want to develope. Note that
according to the developers a program in Python can take up to 15x less
code than in other languages like Java.
Ruby
Ruby is not used very often to make games. It's basically a object
oriented scripting language.
Perl
Perl is yet another scripting language which is often used when it comes
to working with text.
JavaScript
As the name says, JavaScript is a scripting language as well. It's mostly
used on websites and it's very easy to learn. The language is hated by a
lot of people due to its slowness and security vulnerabilities, and
because it's used to display advertisements often.
https://noobtuts.com/articles/programming-languages-overview 4/7
11/14/2019 noobtuts - Programming Languages Overview
{
alert("There was an error");
}
}
Bash
Bash is a language to process commands on Unix systems. It's not very
interesting when it comes to making games.
Lisp
Lisp is a functional language that was and is used for a long time
(created in 1958). The language is all about paranthesis and math. It's
hard to learn, but LISP experts tend to say that it's the most powerful of
all the languages.
SQL
SQL is the language of choice when it comes to working with databases.
When making a multiplayer game, chances are high that we need to
know SQL in order to store the players account data in some database.
SQL is easy to learn, but the language itself makes not too much sense at
some points. Its design got messed up over the years. Often there are
two words for the exact same thing (which increases complexity), and
sometimes a word means something completely different when used
with another query.
Delphi
Delphi is a very solid object oriented language. It's very easy to learn as
a first language, and creating graphical user interfaces is very easy. The
syntax is really easy to understand, yet it's a ma er of taste. The
downside is that it's a proprietary language. It's a solid choice to learn
how to make games.
Lua
Lua is yet another scripting language. It's often the number one choice
when it comes to scripting in games (for example to develope some
monsters behaviour). It's really lightweight and often a good choice.
Assembly
Assembly is raw machine code. This is what our computer reads when
he executes a program. Other languages are always a layer of
abstraction to make things easier for us humans, but in the end they are
almost always translated to Assembly, so the machines can understand
the code.
In the end, games are about fun. If you found a language that you enjoy,
then just use it! Having fun will decrease the chance of giving up along
the way.
If you came here to find an easy language and you don't want to try all
of them then take a look at: Java, Delphi, C#, Python and just for the
experience one of the system near languages like C++ and one of the
functional languages like Lisp.
https://noobtuts.com/articles/programming-languages-overview 6/7
11/14/2019 noobtuts - Programming Languages Overview
© 2012-2019 noobtuts.com
https://noobtuts.com/articles/programming-languages-overview 7/7