Skip to main content

WHY PYTHON IS BETTER THAN ANY OTHER PROGRAMMING LANGUAGE?


Python is a really popular programming language and there are reasons for this popularity. python is extremely easy to learn because it is beginner-friendly language with really simple easy to understand syntax, readability and closeness to english language. e.g if you want to display something on the screen; in python you will type: print('yourtext') and boom you have displayed your text onto the screen whereas in java you would have to type: system.out.printIn('yourtext')

so clearly you can see the difference how simple it is to code in python.

further python code is always relatively smaller and cleaner to look at than other programming languages.

this program adds two number in python:

num1 = 1.5

num2 = 6.3

sum = num1 + num2

print('the sum of', num1, '+', num2, 'is: ', sum)


this program adds two numbers in JAVA:


class Main {


  public static void main(String[] args) {

    

    System.out.println("Enter two numbers");

    int first = 10;

    int second = 20;

    

    System.out.println(first + " " + second);


    // add two numbers

    int sum = first + second;

    System.out.println("The sum is: " + sum);

  }

}

 .........

now obviously you can see the difference for yourself and can understand why python is a better and popular.

Now as it is so popular and also old too, this means there a lot of support for novice developers. it has large community of developers so If you ever run into a problem you can always search it up and some one would be there who would have solved it. search up your problem on google directly or on stackoverflow, youtube, python programming forums or discord servers, there is 100% guarantee you will find your answer.


Another reason for why python is better and why you should learn it is the variety of tasks you can do with it. there are tons of libraries available to be used in different fields of work. for game development in python you have pygame. for machine learning and data science you have scikit learn, tensorflow, pytorch etc. want to become a web developer? use flask or django for the backend of your site. also you can code hacking scripts in it. all-in-all theres huge and vast libraries support available which makes your task really easy and quick.

With current technological developments AI, machine learning and data science fields are vast open recruiting developers and as all of this is done in python so there is high demand for python developers with high income (incase if you were thinking what you'll get by learning python). 

in conclusion, I would say that python worked for me. I learnt it and really found it to be easier than other languages. it was simpler, shorter, easier and readable and its syntax nearer to english. easy to debug, find solutions if stuck and clean code.

Comments

Popular posts from this blog

ARRAYS VS VARIABLES IN PYTHON

Beginners mostly prefer variables over arrays, usually because they dont know the real power of array and they end up wasting time storing bunch of items in tens of variables whereas they can use an array and store all those into one variable ` Why people use variables than array Most programmers when starting out learn how to create variables to store information in as a way to make their program more dynamic. However, when they start writing a program, they soon find themselves using lots of variables for the same datatype which results in a waste of time and memory, then they say to themselves, “There has to be a better way.” If they are smart enough and love to research and update their programming, they will turn to using arrays. Arrays are a complex data structure compared to variables but once the progammer gets the hang of it he will be using it all the time for storing same datatype items. (btw in this blog post: https://cyber1571.blogspot.com/2022/10/arrays-in-python.html...

TCP & UDP

TCP stands for "Transmission Control Protocol." it is the special way in which computers talk, communicate and share information. in simple words TCP is used by computers to send and recieve data. Now comes in TCP connections. TCP connection is established between two computers when they want to talk and communicate i.e they want to share data. In TCP connections there are servers and clients, Imagine the client as a person who wants to ask for something, and the server as the person who provides what the client needs. Clients send requests to the server, asking for information or help. The server, on the other hand, receives the client's request and provides the requested information or service. Before the client and server start exchanging information, they perform a special handshake. It's like when you meet someone new and say "hello" before you start talking. the client sends the request to establish connection, the server checks it and acknowledges it ...

HOW HAS THE CREATION OF CODE IMPACTED US AS HUMANS

The invention of coding has revolutionized the way we live and communicate. today almost everything around us is being run by a written code and thus has made our lives easier. look at the device you are reading this, the mobile phone where you get a notification, your washing machine, everything has a code that makes it function.  Coding, or programming, has had a significant impact on society and the way we live our lives. It has enabled the development of many technologies and tools that we use daily, such as computers, smartphones, and the internet. It has also brought in the idea of automation of processes leading to AI, and this has increased productivity and efficiency. It has hence contributed to the creation of new industries and job opportunities. interesting fields such as the internet of things, artificial intelligence, virtual reality, and 3d game development are created due to the advent of code. The Internet which came into existence due to coding has given humans li...