LWN.net Logo

PyCon: Evangelizing Python

PyCon: Evangelizing Python

Posted Mar 28, 2013 17:22 UTC (Thu) by wookey (subscriber, #5501)
Parent article: PyCon: Evangelizing Python

People keep saying python is really easy and cool, but I still find it pretty hard work, and revert to bash or perl given half a chance. It is the language I recommend to newbies as it's popular and there are plenty of learning resources, but I can't bring myself to like it. It's not too bad to read, but writing it always seems like hard going. This is mostly lack of familiarity I guess, and probably its tendency to be 'objecty'. I've always found objectyness deeply mysterious. I think it's mostly being brought up on BASIC and C and bash (and ml, but I prefer to forget about that). It's just really hard to shift your brain into the new ways of thinking that fancy new languages promote. (I include C++ and java in the 'fancy new languages' category too).


(Log in to post comments)

PyCon: Evangelizing Python

Posted Mar 28, 2013 19:12 UTC (Thu) by serzan (subscriber, #8155) [Link]

That does sound like lack of familiarity. I've learned python a few years after shell and perl and I very much prefer it over the latter two.

Python itself does not enforce any specific paradigm (OO was only added afterwards) and its idea of OO is very relaxed compared to java/c++.

Also, I find that perl/shell are terrible for writing non-trivial scripts because handling exceptions requires so much more discipline than with python.

PyCon: Evangelizing Python

Posted Mar 29, 2013 13:25 UTC (Fri) by tnoo (subscriber, #20427) [Link]

> Python itself does not enforce any specific paradigm (OO was only added afterwards) and its idea of OO is very relaxed compared to java/c++.

OO was at the core of the language from the very beginning. The oldest documentation I found was version 1.4 (1996) which makes frequent references to Modula and C++.

But I agree that Python does not enforce any specific paradigm, or rather, effortlessly combines all of them. This is an asset, especially getting students to program data analysis scripts, which probably have never seen anything else than Basic or Matlab. The power of OO is still there, and can be easily used even in procedural programs.

PyCon: Evangelizing Python

Posted Mar 30, 2013 18:02 UTC (Sat) by jwakely (subscriber, #60262) [Link]

How does C++ force any OO paradigm on you?

PyCon: Evangelizing Python

Posted Mar 30, 2013 20:18 UTC (Sat) by serzan (subscriber, #8155) [Link]

I did not say that it does.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds