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!
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
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:
Anonymous2011-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".
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:
Anonymous2011-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"
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.
' 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
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.