I am totally new to programming so what should I learn C C Java or Python

Today I am writing this article for whom are starting their coding journey and not sure which language they should choose. This article contain the answer of question “I am totally new to programming so what should I learn C C Java or Python.

In this article I am going to provide a detail comparison of these languages on various parameter also I will give my opinion and experience with these languages. So you can select best programming language for you.

So read this article completely and carefully.

I am totally new to programming so what should I learn C C Java or Python
I am totally new to programming so what should I learn C C Java or Python

 

So let’s start:-

 

     Brief detail of C, Java, Python

    C: 

    C programing language was developed by Dennis M. Ritchie in 1972. C is a Procedure Based Programing language and it is used for general purpose not for enterprises purpose.

     

    Java:  

     Java Programing Language was developed by James Gosling in 1995. Java is an Object Oriented Programing Language and it is used for general and enterprises purpose. Now, java is owned by Oracle Corporation and the latest java version is Java SE16.

    Java is one of the most fundamental languages that produces software for multiple platforms. And the best thing is that it is machine independent and can be written once and run anywhere.

     

    Python:  

     Python Programing Language was developed by Guido Van Rossum in 1991. Python is also a Object Oriented, high level and interpreted Programing Language and it is used for general purpose. Now, python is owned by Python Software Foundation and the latest version of python is 3.9.2

    Python is a simple easy to read and high-level programming language, but program is mostly fall in love with it because of the increased productivity that it provides both of these have been the two most popular and controversial languages of the decade.

    Comparison on various parameter

    • Speed
    • Legacy
    • Length of codes
    • Database
    • Practical activity
    • Search volume in USA & India
    • Salary
    • Code writing format

    Detail discussion on every parameter

    Speed:  

     If we take a look at the speed of java and python, the Java is a statically typed programming language, which makes it faster. Where the Python is an interpreter which determines the type of data at runtime thus making it slower comparatively.

    I am totally new to programming so what should I learn C C Java or Python
    I am totally new to programming so what should I learn C C Java or Python

     

    Legacy: 

     Java history in the Enterprise and the world was coding style are typically larger and more numerous. Where python is has less Legacy problem, which makes it difficult for the organization's to copy and paste codes.

    Length of codes: 

      now both the languages are pretty simple and easy to write but if we look at the length of both the codes python consists of less number of lines or shorter codes as compared to Java.

    If we compare the number of lines in a code python can perform the same action with fewer lines than the same code written in Java. In this example we are printing the statement hello world using both the languages but in Java, we need to define a class and a main function which makes it a 3 line code already. Where we can just use the print function for the statement.


     


     

    Database:   

    Java database connectivity is most popular and widely used to connect whereas pythons database access layers are weaker than jdbc that is why it is rarely used in Enterprises. 

    Practical Activity: 

     Now if I look at the Practical activity Java provides more undeviating refactoring support then python because of its static type system and universality of IDE for the development of mobile and web applications. But python has become a popular choice for all the recent Technologies, like data science, machine learning, and artificial intelligence.

    Search Volume in USA & India:

    Next up, If we look at the search results of US and India in the last five years US has seen a drastic drift in the domination of both the languages there has been a significant growth in the search for python whereas the other has seen a gradual decrease in the graph. India has also seen a growth in case of python.

    Salary: 

    Salary growth of java engineers and python engineers based on their experience. We can see that there has been a steady growth in both the situations over a certain period of time now if we compare the growth of both the engineers in case of freshers, python has a little Edge over java due to its increased demand in the recent times now a days. The jobs are most related to Automation and artificial intelligence.

    Whereas if we look at the growth in case of experienced Engineers Java dominates over the time because Java has been in use way before python became popular and the experienced Engineers find it convenient.

    Code writing format:  

    Java is a compiled programming language and the source code is compiled down to byte code by the Java compiler and the byte code is executed by a Java virtual machine.

                                                        On the other hand python is an interpreted language as the translation occurs at the same time as the program is being executed.

    Now statically typed programming languages do type checking at compile time as opposed to run time. Whereas the dynamically typed programming languages do type checking at runtime as opposed to compile time and it helps you write a little quicker because you do not have to specify types every time

    Now Java support encapsulation, inheritance, polymorphism and abstraction, which makes it an object-oriented language.

                                          Python is also an object oriented language, but it has an added Advantage. It is also a scripting language and it is easy to write scripts in Python.

    In Java programming language if you miss the semicolon at the end of a statement, it will throw an error.

                    But there is no such need of any semicolon to end the statement in case of python

     

    Now another important difference in the syntax of both. The languages is the indentation in Java. You must define a particular block using curly braces. Otherwise, the code won't work.                                                 

                                           But in case of python there is no such sight of any curly braces, even though indentation is mandatory. It also improves the readability of the code.

     

     So if we take a closer look at all these aspects of comparison, we can say that python has a slight Edge over java and it would be fair to declare the former as the winner in this battle.

     

    My opinion

    I am a java programmer and I found it is a very easy language to learn because it's already created projects, frameworks, APIs, huge libraries, latest updates and biggest developer community etc.
    You can create solution of any problem by the help of java. Using java we can create a general purpose software to enterprises level application.
    So in my vision the level of java is high than python and C.
    But you can choose  best for you by reading the article completely.


    Please write you  question, opinion and advice in comment box.
     

    Thank you 

    No comments:

    Powered by Blogger.