Sunday, December 27, 2009

Love of a new language

More than recently I've been having a go with the Python programming language and must admit that I absolutely love the language and now that I received Programming in Python 3 by Mark Summerfield I feel that I can go full force into learning this wonderful language that doesn't seem to be going anywhere, anytime soon.

When I first heard about the Python language I remember watching a tutorial on YouTube where a Googler rambled on about some real intense programming stuff with Python and of coarse I had no clue what he was talking about at first. Of coarse this was before I started to dive into the OOP club and might not have even completed my first year of hands on experience and still writing procedural code.

Once I started getting the general idea about how to do the OOP thing I began to get more and more curious about other programming languages and thought it might be a good time to do a bit of fiddling with Python since it seems to be a very popular and unique language.

The syntax is very easy to read and understand and actually takes less code in some cases compared to other languages such as PHP, Java and C#, for instance:

PHP, C# and Java - if(apples == "nom nom nom") { // do other stuff }
Python - if apples == "nom nom nom"

And of coarse the data type thing that needs to be done in some languages, but not in Python, no need to define your data types there.

Basically, you can do anything and everything with the Python language that you can do with all the others with the possibility to write less code along the way also. Now, don't get me wrong, I don't have a care in the world how much code I gotta write but sometimes certain things just click and the Python language is doing just that with my brain at the moment.

P.S. - Thanks for reading this ramble and I am VERY aware that it's not at all informative :^)

- Pete

1 comment:

Bubbles said...

I've been reading this book too now, it is really good. Just finished the data structure bit