6
1
I would like to propose a new kind of challenge: Anti Code Golf! (as anti-golf, not anti-code). The idea is to write the longest program you can write to do something.
That would be Code Bowling, as pointed out by ProgramFOX.
Rules
No ridiculously unnecessary whitespace (e.g. 3 lines between each statement, etc. indentation is OK, just don't overuse).
Score is awarded by number of bytes used to work * (in source code, input data or output data) memory usage doesn't count.
Highest score wins. In the event of a tie, most upvoted wins. In the event of a voting tie a randomly chosen answer wins.
You may not read from a external resource, such as a file or web service, except (when possible) the program's own source code and/or a file/service provided by the program itself.
The program must run in a reasonable time (< 5 minutes) except where otherwise specified.
.* Comments do not count for length.
Now, onto the challenge itself:
Write a program that prints the full date of tomorrow to stdout (or equivalent) in ASCII encoding. It may or not receive any arguments, but the current date must not be input directly by the user.
1That's called a "Code Bowling", not a "Anti Code Golf". Such challenges already exist. I updated your question. Also, an important hint: forbid comments and network access. – ProgramFOX – 2014-01-14T18:24:57.023
Sorry for that, should have searched more thoroughly first. Good idea about network access and comments – Kroltan – 2014-01-14T18:27:08.167
I'm a bit confused: a program that starts with "int a=1, b=2, c=3,..... " up to 1.000.000 counts as millions of bytes? – Gabriele D'Antona – 2014-01-14T18:53:07.777
No, it would be the amount of characters needed to write such program. bytes used = (size of source code) + (size of arguments read) + (size of
stdin
read) + (size of stdout) + (size of stderr) I hope this clears the idea a bit more. Every non-memory byte you use is counted – Kroltan – 2014-01-14T18:57:14.8931
I never really got the meaning of [tag:code-bowling]. For example solution like this is allowed or not? http://pastebin.com/Km0tD0v0
– manatwork – 2014-01-14T19:44:29.313It's sketchy, but the rules don't specifically disallow it. I (and all code-bowling askers and readers) expect creative usage of language features and exaggeration without obvious repetition. Otherwise, what's the point of answering? Of course, you "win" but everyone will just look at your answer briefly and say "meh, another every-literal-possible answer", instead of "wow, that's what I call layered code!" (or whatever, just exampling) and have a good laugh. – Kroltan – 2014-01-14T19:55:40.373