60
8
Task
Create a program that calculates the factorial of a number using no built-in factorial functions. Easy? The catch is that you must write your entire program (including testing it) in haiku form.
You can use as many haikus as you need, but when pronounced, they must follow the 5-7-5 syllable format.
Scoring
This is a popularity-contest, so you must get the most upvotes to win. Your program must consist of at least one full haiku, and all haikus must be complete.
When reading code, the first line of each haiku will have 5 syllables, the second will have 7, and the third will have 5.
IK it's quite late, but I hope you guys know there is an OS called Haiku? Code for it would fit here perfectly. Actually, most C++ programs are compatible with it... – RedClover – 2017-12-23T15:30:20.380
5
Sounds like a perfect fit for something written in Shakespeare: http://shakespearelang.sourceforge.net/report/shakespeare/shakespeare.html
– Denis de Bernardy – 2014-02-17T15:31:50.3302It seems most answers are ignoring "including testing it". – Anko – 2014-02-17T18:16:50.490
5I like how you link to a site that correctly says the important thing for Haiku are (a) kiru and (b) a seasonal reference and then only ask for the more or less optional part of counting mora (or syllables in a language that doesn’t really have mora. – Christopher Creutzig – 2014-02-17T20:40:50.920
1I agree with @ChristopherCreutzig -- it would be much more interesting if we had to ensure a seasonal reference and cutting. Sadly, we often overlook these fundamentals of haiku. Seems to me that
then
or punctuation could aid in cutting. For kigo, not so sure... – Darren Stone – 2014-02-18T01:42:15.683I am no expert to Haikus, but there is certainly some lyrical quality expected. So far I only see one answer that has any.
– SebastianH – 2014-02-18T13:45:11.107String[] myWords = { "some words",\n"seven syllables here",\n"another five here"};
(I should use morae, but some words can't be split, thus I use syllables.) – AJMansfield – 2014-02-20T16:07:44.473@SebastianH /about your comment:/lyrical quality - Perl?/That must be a first!/ – cormullion – 2014-02-22T08:57:49.370