HACKA OM DIN FULA KOD RE-HACK YOUR UGLY CODE lyrics by Eva Toller (mel. Sudda, sudda) Det var en gång en pojke som tyckte det var kul Once there was a boy, who thought it was fun att skriva sin programkod så den blev riktigt ful. to write his (programming) code in a very ugly way. Han använde versaler till allt, oj vilken smet! he only used capital letters, oh what a mess! Och inga kommentarer; nej, vad ska man med det?!? And no comments: "what are they good for?!?" Och ingen indentering, han tyckte det var kallt And no indentations, he thought it was cool att nästla sina satser, och ha GOTO överallt. to nestle his statements, and insert GOTO everywhere. Då sa kollegan: Then his colleague said: Hacka om din fula kod! Re-hack your ugly code! Jag kan inte kodgranska det där! I cannot proof-read that (code)! Ingen fattar något av det här! No-one will understand anything of this (code)! Även om jag helst inte vill gnälla: snälla! Even if I would prefer not to whine: please! Hacka om din fula kod! Re-hack your ugly code! Och pojken han blev sur, och han hämnades som så And the boy got angry, and he took revenge like this: att alla variabelnamn dom bestod av två all variable names were made up of two rätt kryptiska små tecken, som följdes åt av sex rather cryptic little characters, followed by six q - c - x- zä- ta - y - 5 och sedan lite hex (-kod); q - c - x- ze- ta - y - 5 and then some hex(adecimal) code; när han skrev manualen, så skrev han den med blod, when he wrote the (user's) manual, he wrote it in blood, och därtill på swahili, som ju ingen där förstod. and, to boot, he used Swahili,* which no-one there understood. Men då sa chefen: But then his boss said: Hacka om din fula kod! Re-hack your ugly code! Jag kan inte sälja sådant där! I can not sell that (program)! Ingen köper något av det här! No-one will buy any of this (software)! Skärp dig nu och gör om hela rubbet! Stubbet! Now get yourself together and re-write the whole lock, stock, and barrel! Annars får du faktiskt åka ut! Punkt slut! Otherwise you're finished here! End of line! (* For real geeks: ...and, to boot, he used Klingon...) Translation by Eva Toller, 2007