Karlonia.com
For Gold, Peace, and Freedom

Karlonia.com

Is Python An Easy Programming Language?

September 14th, 2009

python-programming-language.jpg“Python is a powerful, rich, and easy to learn language” is the most conspicuous yet expected phrase used by most if not all Python programmers and writers. But what happens when something you thought was easy turns out to be the exact opposite? That is the dilemma some new Python programmers encounter when coding. Some people in this world tend to think that anything associated with the word “easy” is a satisfactory solution to any problem, thus they expect a high level of relief as they use that particular solution. A newbie to python development might think that Python is the way forward because one word has solved all the coding and syntax — “easy”. However, as time progresses the newbie sees as though he or she has been ripped off and cursed.

Why am I saying this? As most of you know, the programming world is filled with never ending criticisms and arguments as to which language is the easiest to use. As you read on, please decide which side you are on because a positive attitude is required for a person to make the correct decisions. I am assuming you know a little bit of Python, vb.net and Java; even the “hello world” syntax of each language will qualify you to digest this article. It would be advantageous to have these languages installed in your PC for confirmation reasons and to satisfy your curiosity.

What is Python Language?

To clear the air and answer why it is called Python language, the following is of importance. Python is an object-oriented programming language developed by Gudio van Rossum. The language is named after the Monty Python show and has no relationship with the reptile; however, some developers and writers use Python (the animal) as their title and cover pictures on their books, probably to make the clients comfortable. This is a brief introduction to Python.

Availability, Capacity, and Flexibility:

Generally, any software can be obtained from the Internet and most of the time it is free. Programming languages are no exceptions. Python can be obtained by visiting this link:

http://www.python.org/download/

There are few or no problems encountered concerning availability of languages. Some people consider the issue of capacity (how big) the language is a factor as to what language to use for software development. Python has a capacity of about 10 megabytes while consuming only 37.32 mb in the PC, which is less than other well-known languages such as Java and VB.net. People who are interested in application development but don’t have enough space in their PC might be tempted to use the Python language and forgo the other languages that require vast memory in the PC.

Flexibility of programming languages refers to the ability of a language to be used in many platforms with little or no changes to be made. By platforms I mean the operating systems that are used, for example Windows, Ubuntu, and the like. Both Python and Java languages are flexible because they can operate in both Windows and Ubuntu. Often the acronym WORA (write once run anywhere) appears whenever a language is said to be flexible. In the case of vb.net, there is no flexibility since it is designed for Windows only.

So far some people have made pre-judgments about Python due to its small space requirements and flexibility but let’s see what other factors are considered.

Structure, Syntax, and General Coding:

Structure refers to the design of the coded words that appear on the text editor or script editor. A good programming language should have a layout that is appealing, straightforward, and easy to comprehend. Appealing in this case means that the layout is presentable to the human eye. Python language has a unique structure; when coding, the layout seems to be formal yet indifferent. In layman’s terms, when using Python to develop software or desktop applications, one must finish each class or module that is started one at a time; if not, all programming languages respond quite the same when reporting such type of errors.

Similarly vb.net has the same structure as to that of Python language. The difference is the colour used to type for example the word “if” is orange and blue when coding with Python and vb.net (2008) respectively. On the other hand, Java has a very simple structure; a person can type left to right without regard for alignment involved. This saves time for those who are in a hurry. The structure and word alignment of programming languages is considered to be a factor to some people because if something is not appealing to the eyes then there’s no deal.

Now comes the most argued part in programming history — syntax. This cold war has never ceased, especially in colleges and learning institutions around the world. A good programming language is one that can offer the easiest way to present one’s logic towards a certain problem. This is encapsulated in the syntax of that particular programming language. To explain, let’s consider this example: You are new to programming and the teacher wants you to make an application that adds two numbers, subtracts them, and multiplies them (a simple calculator) with the user being able to enter those specific two numbers. What language to use comes into mind? Let’s analyze this very quickly.

Why use Python?

For starters, Python has easy mathematical operations and call functions. Therefore when assigning variables the following can be appropriate:
a=1 b=2, addition becomes easy: a + b.

Why use vb.net?

Variable declaration is easy to assign using vb.net although too wordy.
Dim a as integer
Dim b as integer
txt1 = a, txt2 = b, addition becomes: a + b

Why use Jcreator?

I have not yet tried coding with Jcreator because of the lengthiness of variables being declared and there is little time on my hands. Any reason as to why using Jcreator is easy is welcomed.

As I conclude this article, I hope my contribution to the programming world is an eye opener to those who are new and in a turmoil concerning what programming language to use for application development or whatever other reasons you have.


This article was originally written by Geoffrey Korio from DailyArticle.com.


Post Your Comments, Opinions, or Suggestions Here:

Name

Email (optional)

Website (optional)