3 ms·
Code poetry
- mgallivan 15y agoI'm not sure how I feel about this... I think that programming languages may be too focused to create real poetry. Good poetry is beautiful because it encapsulates a moment in a language. Isn't programming just encapsulating a set of instructions?
- Jun8 15y agoSee, that's the point: the large degree of constraint created by the medium, i.e. code that will compile, will lead to hitherto unexplored creativity. Hofstadter elaborates on this topic in his great book Le Ton Beau De Marot, e.g. whiel looking for a word that would rhyme with "orange". Another good example is the Georges Perec's lipogram (http://en.wikipedia.org/wiki/Lipogram http://en.wikipedia.org/wiki/Lipogram) novel Da Disparition in which the letter -e (the most frequent letter in French as in English) doesn't appear.
- mgallivan 15y agoI can see your point - I'll have to see if I'm a fan but I think it's a decent step, nonetheless.
- Jun8 15y agoThe only venture into code poetry I was aware of (as opposed to code that generates poems) was the famous perl poetry example in Programming Perl (http://docstore.mik.ua/orelly/perl/prog3/ch27_02.htm http://docstore.mik.ua/orelly/perl/prog3/ch27_02.htm). So, inspired by this call for code poets, I googled around for other languages and there were examples in other languages, too. But I wasn't expecting an example in PHP (http://simianuprising.com/2011/11/07/a-love-poem-in-php/ http://simianuprising.com/2011/11/07/a-love-poem-in-php/)! Any good code poems you've come across lately?