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

My 1st /prog/ram

Name: Anonymous 2009-03-11 19:52

So I took /prog/'s advice and started learning python:

Here is my first ever program that is not copypasted from the tutorial. (I went further by not ONLY having it say 'too high' or 'too low' or 'you guessed it')

Am I doing it right or is declaring 5 variables a waste of time?
Why cant I just say
if a < 5:
    print('way too low') #?
why does it have to be a variable?

Name: Anonymous 2009-03-11 21:33

>>7
How about all the self() bullshit?
What about how retarded it is to save three characters and make the code less english like with elif instead of else if.
How about that it is slow as shit. Even ironpython is slow as shit.
How about that there exists no fully featured IDE for it?

Man thats 4 solid criticisms and I've never even coded in python.  The only time I've coded in python was to help a friend with his programming homework(because expert programmers can easily program in any non super gay language).

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