Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Python 2 or 3?

Name: Opi 2013-06-23 10:03

I'm not sure whether I should focus on learning Python 3.3 or Python 2.7. What's your opinion on the matter?
(I don't want Andru's advice)

Name: Anonymous 2013-06-24 14:15

>>20
Ruby also has a syntax unfamiliar to many. It borrows a lot from Smalltalk, a classic OOP language. And OOP is the best in Ruby. For instance, you can redefine all classes, even the built-in ones. You can customize how every object responds to messages, you can easily send some code to an object or a class to evaluate, etc. Lots of niceties, but Ruby ain't gonna be a performance champion anytime soon.
Python on the other hand has a more C-like syntax but with a lot of its own ugliness like "self." everywhere and __bullshit__. It also has a lot of little language quirks and inconsistencies. For instance, an empty string evaluates to false while a non-empty string evaluates to true so you have to constantly keep that in mind. In Ruby everything just evaluates to true except nil and false.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List