jump to navigation

Python is Sloppy… June 19, 2008

Posted by mitchfrizzell in C++, PC, Python.
trackback

After really giving up on C++, I’ve moved onto Python. Why did I give up on the mother of all languages (you know what I mean)? I guess I felt - and still feel - that after spending so much time on C++, I was really getting no where. I’ve read around 5 tutorials and 2 full books, and I still feel that there’s something missing. Something I’m missing. C++ has a lot of extra junk that’s not covered in most tutorials, and there’s no real “basin” or other location where I can find a link to these tutorials.

So what I really wanted was something… young (I know that sounds gay). Not in terms of age, but something that’s a little more appropriate for me. It’s not that I’m not willing to spend a lot of time on my programming. In fact, I spend almost 3-4 hours a day messing around with it. It’s just that I needed a real change of pace. Especially after feeling so confident in JavaScript.

That’s where Python comes in. Sure, at a very superficial level it’s sloppy. There are hardly any brackets (used only - as far as I have seen - in lists, tuples and dictionaries: essentially fancy arrays), statements don’t end with a semicolon, and functions, classes, loops, etc are contained with only indentation! That’s right, indentation now has a function other than keeping your code neat. But underneath the surface, this lack of mostly aesthetic punctuation really cuts down on time, and makes spotting your errors easier.

To make myself proficient in Python, I’ve taken it upon myself to go through each and every resource at this awesome site. There’s over 300, but I’m willing to take the trip. Wish me luck, and if you’re taking the same road, let me in on some of your thoughts on Python.

Comments»

1. redochre - June 19, 2008

Good luck with the new language! I just started with python about a month ago. You’ve certainly got a daunting list of tutorials to go through! I also recommend checking out Project Euler (projecteuler.net) and Python Challenge (www.pythonchallenge.com) for some interesting puzzles. I’m finding them a great way to learn.

2. mitchfrizzell - June 20, 2008

Well, thanks a lot for the comment and the great links! I actually really enjoy puzzles or exercises, as they force you to think on your own as a programmer. This, in my opinion, really gets you to think of your own solutions for a problem instead of just typing someone else’s code.

This is great because 90% of coding that we do is on our own, without a lot of copy/paste.

Anyways, sorry for the ramble, and thanks again for the help, good luck to you too.