Programming Language To Learn For Beginners

Deciding which programming language to learn as a beginner can be tricky and this topic is subject to endless debate. There are countless opinions online that tend to leave people confused instead of decided. So how do you really decide? What do you base your choice on? Let us see what I think.

programming language to learn

There are thousands of programming languages in use today. Most of them are however not as popular as others. It is easier to be confused if you don’t have the right advice. At some point though, you will need to pick one language to start your programming journey.

Some people will suggest that you learn at least one lower-level language – like Assembly and at least one higher-level language like Java or C++. So which one are you going to start with before you arrive at these two categories? I will suggest python for reasons I will give.

The first CS class I took was taught in Java – I had no idea Python existed. It took some time to understand the main() method and what goes on behind it. I don’t regret starting with Java but I feel I would have had a better footing if I had started with Python. Consider this:

Hello.java

[java]

public class Hello {

public static void main(String[] args){

System.out.println(“Hello World!”);

}
}
[/java]

Output
[java]

/*this is what is printed out */
Hello World!
[/java]

That is what it takes to produce a simple “hello world!” statement in Java.  If it is your first time ever, you might feel like you have accomplished something many people will never do. That is fun. But let us count the number of lines it took to say hello world – 5 if you exclude the new lines. What if we could cut those lines to … say 1?

Hello.py

[python]

print “Hello World!”

[/python]

Output

[python]

Hello World!

[/python]

Surprisingly, it only took a single line of code to print out “Hello World!” in Python. Compare that to Java or C# or C++ and you will realize that it makes much more sense to start with Python as an entry-level programming language.

If you are curious, you are probably asking yourself : what does main, class, public, {, String, args, [], System, or out mean? By the time you finish trying to find out what they all mean, someone learning Python will be doing other cooler stuff than you. From what we have seen above, all you need for Python is a ‘print’ method. That is it.

So what am I trying to say here? I am not trying to imply that starting with other languages is a bad idea. Heck, sometimes it pays off after you are used to tougher ways of doing things. Consider driving a manual car then jumping onto an automatic. This might sound contradictory but it really depends on how fast you learn things as a person. More often, it is easier to learn by starting with easier things then move to relatively difficult ones as you mature. That is the same when picking which programming language to learn.

Is Python the only language I recommend? No. There is Ruby – I am not yet a fan though.

Having said that, I highly recommend you give Python a chance. If you don’t like Python, try Ruby. There is also Javascript for front-end developers but you can also do some back-end work with it using frameworks.

Good luck picking a programming language to learn and if you have any questions, please do not hesitate to ask me. Thank you for stopping by. Please subscribe and leave your commands. Please remember to share this post with your friends online. See you soon!

Be The First To Get New Posts From Simple Developer…

Written By Elisha Chirchir

Elisha Chirchir is a software developer. He is also the founder of Simple Developer and co-founder of Instinctive Software Solutions. On any given day, he works on both Android and Web Development. During his 'free time', he offers training to those interested in learning how to code in php, java, python, javaScript etc. You can easily find him on StackOverflow Android chatroom or on Twitter @Eenvincible

Leave a Reply

Your email address will not be published. Required fields are marked *