-2
The Zen of Python must surely be one of the most beautiful Easter eggs in any language. (It is created by writing import this
)
So why not create a version for your own language?
For those who don't have access to Python 2 or 3, your code should output the following:
The Zen of [YOUR LANGUAGE]
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!
The original was The Zen of Python, by Tim Peters
.
This is code-golf, so the shortest answer in bytes wins.
Standard loopholes apply, this includes no built-ins (if you are making a solution in Python, Pyth or another derivative of Python, the equivalent of import this
is forbidden).
This is my first question, so please tell me whether it is good or not. – boboquack – 2016-10-24T20:57:26.960
@DJMcMayhem clearly, the solution here is to rename yourself :) – Nathan Merrill – 2016-10-24T21:04:35.240
2Even with the language and username fields, this challenge is still just printing a large, static block of text, which means it's a dupe of the rickroll challenge. – Mego – 2016-10-24T21:05:05.950
@DJMcMayhem I have removed the username part of the challenge. – boboquack – 2016-10-24T21:07:50.030
I argue that this isn't just a duplicate because it is relevant to coding. – boboquack – 2016-10-24T21:08:27.440
It is very similar in spirit to the rickroll, but I don't see why it couldn't stay open. I know we've been closing challenges as dupes of the rickroll for years, but I think it's kinda getting ridiculous. I want to leave it open. – James – 2016-10-24T21:09:59.827
If this question is closed as a duplicate, I think that there should be some way for new PPCG users to find these questions, as I couldn't find anything with a search. – boboquack – 2016-10-24T21:19:28.567
2
@boboquack there is the sandbox to get feedback on your ideas for challenges.
– Jonathan Allan – 2016-10-24T21:26:46.9631
For KC questions in particular, a search is going to be hard, since while the words printed may not be the same, the underlying challenge often is. In addition to the sandbox (suggested by Jonathan), you can also browse the top voted Kolmogorov complexity challenges to get a (very brief) overview of the kinds of things that have been done.
– Geobits – 2016-10-24T21:32:21.427Thank you @JonathanAllan I wasn't aware of this at the time. – boboquack – 2016-10-24T22:13:15.390