Just in case anyone missed it, songsincode is running around Twitter. The idea is to reduce song lines to code.
As an example,
var i = {shot:{sheriff:true,deputy:false}}
That reads as “I shot the sheriff, but I didn’t shoot the deputy” (just in case someone doesn't get it). Or how about:
load(int tons) { if (tons == 16) { older(days(1)); debt++ } }.
I did a very bad one, and would like some coding help:
{ if (baby == left me) var i ={find:{place to dwell:target=”new”}}
I know it's all wrong and I'm mixing HTML. But who can clean it up for me?
Michael
Songs in code: the logic behind emotions | A-Lyric.com
As an example,
var i = {shot:{sheriff:true,deputy:false}}
That reads as “I shot the sheriff, but I didn’t shoot the deputy” (just in case someone doesn't get it). Or how about:
load(int tons) { if (tons == 16) { older(days(1)); debt++ } }.
I did a very bad one, and would like some coding help:
{ if (baby == left me) var i ={find:{place to dwell:target=”new”}}
I know it's all wrong and I'm mixing HTML. But who can clean it up for me?
Michael
Songs in code: the logic behind emotions | A-Lyric.com