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

Pages: 1-

from this import *

Name: Anonymous 2011-10-09 17:47


The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

Name: Anonymous 2011-10-09 17:54

[quote]Errors should never pass silently.[/quote]
How goes that dynamic typing?

Name: Anonymous 2011-10-09 18:05

>>2
How goes that BBCode quote failing?

Name: Anonymous 2011-10-09 18:07

>>2 You want to blame Guido for the idiocies committed by coders?

Name: Anonymous 2011-10-09 18:18

>>2
Dynamic typing is cool, bro.  Not reporting (by design) unbound identifier errors at compile time, however, is not cool.

Name: Anonymous 2011-10-09 19:32

The Tao of Python, by Anonymous

ONE WORD
THE FORCED INDENTATION OF CODE
THREAD OVER

Name: Anonymous 2011-10-09 21:05

>>6 If you can't fucking indent properly, you have no fucking right to be in fucking software business.

Name: Anonymous 2011-10-09 21:18

>>7
HAHAHAHAHAHAHAHHAHAHAHAAHAHAAAA!!!
you think your tough huh?
one word THE FORCED INDENTATION OF CODE.
i have taken out two mission critical applications at the same time in less than 5 seconds i have been training for 3 years.
also enterprise grade best practices.
your compiler might be bigger than me,but i know mine is smarter and quicker.
my compiler is 130 kb pure lean code.
one keystroke and i'll overflow your buffers.
your the one whose a nerd.i can optimize CFLAGS anytime i want you probably haven't ever touched CFLAGS before.
you probably have sex with your computer.
you don't even know me,and you don't want to.
you'll be lucky if your even worth my attention one look at my code and you'll dissappear forever.
though i'd be hapy to humiliate you in front of all your friends.
btw IM the expertest.
i have worked in maine, new hampshire, new york,utah, colorado,florida,bahamas.
never indented my code!
im undefeated in competitive obfuscation of code.
im on my way to IOCCC.
go ahead and come step anytime you want.b*tch

Name: Anonymous 2011-10-09 22:36

>>8
fuck you faggot

Name: Anonymous 2011-10-10 0:41

>>9

Were you not enlightened by his demonstration of how breaking text into separate lines such that each meaningful chunk is contained in one line, and each line only has one meaningful chunk, does not necessarily improve the readability of the text?

Name: Anonymous 2011-10-10 11:27

<------ DUBS CHECK 'EM

Name: Anonymous 2011-10-10 12:01

>>11
Nice dubs, bro

Name: Anonymous 2011-10-10 15:57

AUTISM

Name: Anonymous 2011-10-10 16:19

>Beautiful is better than ugly.

And that's why Python fails. Whitespace marking blocks is incredibly ugly.

Name: Anonymous 2011-10-10 16:28

Pythonista, make yourself useful and implement a ShiitChan CapMessages backend for weboob.

Name: Anonymous 2011-10-10 23:21

>>14
blocks are imperative AIDS anyway

Name: Anonymous 2011-10-11 0:12

>>14
Because strangely placed curly brackets are so much better!

Name: Anonymous 2011-10-11 0:29

>>17


if b1:
    if b2:
        if b3:
            if b4:
                if b5:
                    if b6:
                        if b7:
                            if b8:
                                if b9:
                                    if b10:
                                        raise SystemExit
                            else:
                                print("i don't know either")
                    else:
                        try:
                            try:
                                try:
                                    print("why hello there")
                                catch:
                                    pass
                                else:
                                    print("this does not compute")
                            catch e:
                                print("ohshite nigga what are you doing")
                                raise e
                            else:
                                print("this AST tree is powered by crack")
                        catch:
                            pass
                        else:
                            print("is this supposed to happen?")
        else:
            print("oh boy nested IFs are so rad")


Python is graetestestestestestet! how daer u to say sumthing else! nazi! jewhater! u iz evil! <- How a discussion I had with a pythonista once went (might or might not be somewhat exaggerated). And I don't even hate Python, but pythonautists have got such a huge sticks up their arses, it's not even funny anymore

Name: Anonymous 2011-10-11 0:58

How Python is better than Lisp?

Name: Anonymous 2011-10-11 0:58

>>18
Is your post relevant to anything?

Name: Anonymous 2011-10-11 0:59

>>19
It's not, and Lisp is shit.

Name: Anonymous 2011-10-11 1:01

>>21
Lisp is shit.
You're a dummy ;__;

Name: Anonymous 2011-10-11 1:08


                __ __
      /    /   /  /_/
     /__  / __/  /

        /  .  \
       /   '   \
      /    |    \
     /           \
    /      |      \


LISP is a mental attitude rather than a programming language. It uses a certain process of the mind expressed spontaneously through keyboard. I'm concerned with retaining that process.

LISP is an open-ended programming language for open minds.

Anyone can learn Lisp in a few minutes, but nobody could master lisping in a thousand years.

It bugs me when people try to analyze Lisp as a mathematical theorem. It's not. It's feeling.

Lisp, for me, has always been a place where anything is possible--a refuge, a magical world where anyone can go, where all kinds of people can come together, and anything can happen. We are limited only by our imagination.

I hate static languages. I have to change language to my own way of doing it. That's all I know.

One thing I like about Lisp, kid, is that I don't know what's going to happen next. Do you?

The whole thing of programming LISP is not to control it but to be swept away by it. If you're swept away by it you can't wait to do it again and the same magical moments always come.

My own feelings about the direction in which LISP should go are that there should be much less stress on static exhibitionism and much more on dynamic content, on what might be termed humanity in programming and the freedom to express all that you want.

Not to deny that it is a thinking people's programming language, but when I'm lisping if I ever catch myself thinking, I'm in trouble--I know something is wrong.

Lispness is not a state of mind, It's a fact of life!

Surrender your whole being to LISP, and gravity disappears...with few macros, one could write code as deep as the ocean.

Macros are to Lisp what yeast is to bread--without it, it's flat.

Recursion is the ability to talk to oneself.

Making the simple complicated is commonplace; making the complicated simple, awesomely simple, that's creativity. — Charles Mingus

Lisp is your own experience, your thoughts, your wisdom. If you don't live it, it won't come out of your REPL.

It is becoming increasingly difficult to decide where LISP starts or where it ends, or even where the borderline lies between between programming in general and LISP. I feel there is no boundary line.

LISP is what we need when other languages fail us, but we cannot remain silent.

"Lisp" stands for "Lisp Is Syntactically Pure"

If it ain't Lisp, it's crap.

Name: Anonymous 2011-10-11 1:15

>>20
PROTIP: To figure out this quite difficult riddle, take a look at the post of >>18-san, and watch out for a hyperlink named ">>17".

Oh wait! You're just a buttfrustrated pythonista!

Name: Anonymous 2011-10-11 1:37

smells

Name: Anonymous 2011-10-11 3:41

DON'T YOU WISH A PROGRAMMING LANGUAGE EXISTED SUCH THAT ONE COULD IMPORT ALL OF THE INFORMATION WITHIN AN ENTIRE BOOK AND USE IT TO DO MEANINGFUL WORK?

Name: Anonymous 2011-10-11 4:31

>>26

' CONFIDENTAL ANONONOPTIMIZER CORE INIT SOURCE
' LICENSED UNDER THE TERMS OF THE ANONONOPTIMIZER LICENSE
' IF YOU CAN READ THIS THEN YOU SHOULD TOTALLY CONSIDER NOT TELLING ANYONE ABOUT THIS FILE
' ITS TOTALLY CHEAP ONLY $59999999999 DOLLARS
' PLEASE IGNORE THE FOLLOWING LINES THANK YOU
'
100  PRINT "WARNING: ABOUT TO DO MEANINGFUL WORK!"
200  PRINT "*** DO NOT SHUT DOWN YOUR COMPUTER ***"
300  SLEEP 5
400  PRINT "STEP 1 OF 10 FINISHED"
500  SLEEP 50
600  PRINT "STEP 2 OF 3 FINISHED. PLEASE BE PATIENT"
700  SLEEP 280
800  PRINT "STEP 3 OF 3 FINISHED"
900  PRINT "CONGRATULATIONS YOUR WINDOWS COMPUTER IS NOW OPTIMIZEREREREREDED": PRINT ""
1000 PRINT "THANK YOU FOR BUYING ANONONOPTIMIZER"
1100 PRINT "THAT ONE OPTIMIZER THAT IS TOTALLY OPTIMIZING AND STUFF": PRINT "USER FEEDBACK: ": PRINT ""
1200 PRINT "'ANONONOPTIMIZER GAVE MY LIFE A NEW MEANING' - STEVE JOBS"
1300 PRINT "'ANONONOPTIMIZER IS TOTALLY COOL' - PRESIDENT OF THE USA"
1400 PRINT "'I JUST BOUGHT 80 COPIES OF ANONOPTIMIZER' - RICHARD STALLMAN"
1500 PRINT "'WE HAVE REPLACED WINDOWS XP WITH ANONONOPTIMIZER INSTEAD, BECAUSE ANONONOPTIMIZER IS TOTALLY RAD' - BILL GATES"

Name: Anonymous 2011-10-11 5:35

LISP is a mental attitude rather than a programming language.

Mental illness.

It uses a certain process of the mind expressed spontaneously through keyboard. I'm concerned with retaining that process.

You should hang out with tdavis of LoseThos fame, he experimented a lot with various spontaneous expressions through keyboards and other peripherals, and he too is concerned with retaining his state of mind, as it provides him both with inspiration/purpose and with an easy sustenance in form of a disability pension.

I couldn't be bothered to read any of your verbal diarrhea past the first line, if there are some more cute nuggets, please repost them.

Name: Anonymous 2011-10-11 7:29

>>27

OMG OMPTIMIZED


' CONFIDENTAL ANONONOPTIMIZER CORE INIT SOURCE
'
' LICENSED UNDER THE TERMS OF THE ANONONOPTIMIZER LICENSE
'
' IF YOU CAN READ THIS THEN YOU SHOULD TOTALLY CONSIDER NOT
' TELLING ANYONE ABOUT THIS FILE
'
' ITS TOTALLY CHEAP ONLY $59999999999 DOLLARS
' PLEASE IGNORE THE FOLLOWING LINES THANK YOU

SUB TWAIT(IV AS INTEGER)
    SLEEP (IV * 1000)
END SUB

SUB WAITINPUT
    DIM response AS INTEGER
    INPUT "[PLEASE PRESS ENTER TO CONTINUE]", response
END SUB

SUB STE(ST AS INTEGER, SM AS INTEGER, SW AS INTEGER, SA AS STRING = "")
    PRINT("STEP " & ST & " OF " & SM & " FINISHED. " & SA)
    TWAIT(SW)
END SUB

SUB UFE(QU AS STRING, US AS STRING)
    PRINT("   '" & QU & "' - " & US)
END SUB


DIM I AS INTEGER
DIM MAX AS INTEGER = 10
DIM SA AS STRING = ""

PRINT("WARNING: ABOUT TO DO MEANINGFUL WORK!")
PRINT("*** DO NOT SHUT DOWN YOUR COMPUTER ***")
TWAIT(1)
FOR I=1 TO MAX
    STE(I, MAX, 1, SA)
NEXT I
PRINT("*********************************************")
PRINT("* CONGRATULATIONS YOUR WINDOWS COMPUTER IS  *")
PRINT("* NOW OPTIMIZEREREREREDED                   *")
PRINT("*********************************************")
WAITINPUT
PRINT("")
PRINT("# THANK YOU FOR BUYING ANONONOPTIMIZER")
PRINT("# THAT ONE OPTIMIZER THAT IS TOTALLY OPTIMIZING AND STUFF")
PRINT("# ANONONONONOPTIMIZER IS POWERED BY SECRET TECHNOLOGY")
PRINT("")
PRINT("USER FEEDBACK*: ")
PRINT("")
UFE("ANONONOPTIMIZER GAVE MY LIFE A NEW MEANING", "STEVE JOBS")
UFE("ANONONOPTIMIZER IS TOTALLY COOL", "PRESIDENT OF THE USA")
UFE("I JUST BOUGHT 80 COPIES OF ANONONOPTIMIZER", "RICHARD STALLMAN")
UFE("WE HAVE REPLACED WINDOWS XP WITH ANONONOPTIMIZER "& _
    "BECAUSE ANONONOPTIMZER IS TOTALLY RAD", "BILL GATES")
PRINT("")
PRINT("* ALL QUOTES ARE BASED ON FACTS")
WAITINPUT

Name: Anonymous 2011-10-11 7:49

>>28
even tdavis is cooler than python.

Name: Anonymous 2011-10-11 7:56

>>24
Your post is still irrelevant because you're replying to a moron, which you shouldn't be.

Name: Anonymous 2011-10-11 8:08

>>18
It's try/except, not catch.

Name: Anonymous 2011-10-11 14:27

>>32
It's go back to/b/, ``please'', not /polecat kebabs/

Name: Anonymous 2011-10-11 15:49

Flat is better than nested.
Example, please.  I immediately thought of several counterexamples, but I might not be interpreting this statement in the way it was intended.

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