24/08/2019
Which programming language Should I choose for beginning?
This is a question which comes to all our minds at a point of time when we start to think about starting coding.
Most people try to find its answer by asking what is the best language on web. A lot of articles and blogs on the web tells different answers and which makes it even more confusing.
In this era there are about 280+ programming languages, and a few of them stand out. Languages like C,C++,C #, Java , JavaScript etc, are most popular.
So does it mean you should just pick any of 'em and start coding in it?
If you become a software engineer , you will learn more languages than now. So I don't think there is any point in being overly obsessive with learning more languages for now. Just focus on one.
Undoubtedly, C is the fastest High level language till now, so pick it?
If you want to learn an easy structure language go for python. Coding in it is as easy as writing an algorithm.
Python has a huge set of libraries especially machine learning and AI related so is it best for you?
Java is one of the most versatile language and completely object-oriented and its software are highly cross-platform supported, is it better for you?
C # is widely used to produce windows applications, which is the most popular OS for PC's now is better for you?
JavaScript is most popular for web development, so is it the language you have been waiting for?
Before choosing any language based on their description or choosing 'em all, let me tell you something:
There is a need to make right choice as a wrong choice might waste a lot of your precious time as a newbie coder
The one you choose should not be the best but the most suited to you.
# a simple code for swapping two integer values in python
a=8
b=9
a,b=b,a
Learning in Python is easy but it is not that comprehensive as C. C has many rules and we gotta keep many things in mind while coding in it.
We have to do many things manually in C which are done automatically in python. So, transferring from C to any other languages easy but converse is not true. And learning C makes us learn enough to learn other languages easily.
We have to write code for almost everything in it if we don't have special libraries. There is a saying that C is a very tough language, and I agree to "some" extent. But C has its perks:
>Best for competitive coding
>Best for game writing
>Best for calculations
why? 'cause its fastest ,unless you wanna code in assembly.
// code in C for swapping
void main(){
int a=8,b=9;
int t;
t=a;
a=b;
b=t;
}
Java is a broad language , many things to learn , I think you should go with other languages if you are a beginner or if you do go with don't delve too deep, build basics such as looping and functions first.(It applies for whatever language you choose) limit to only Core Java.
//swapping code for java
class Swap{
public static void main(String [] args){
int a=8,b=9;
int t;
t=a;
a=b;
b=t;
}
}
Some tips:
>Build basic knowledge first about language before coding in it, it helps us in knowing for what purpose it was developed. Also helps in choosing.
>Regardless of any language you choose, learn looping and functions deeply(must for solving problems).
>Don't run too fast, keep looking back.
>Code regularly.
PS: I'll keep updating it, your opinions are necessary.