martes, marzo 25, 2008

¿Quién tiene tiempo para escribir comentarios en el código hoy en día?

Deja que The Commentator haga el trabajo sucio por ti, añadiendo a tu código comentarios creativos, graciosos y con claras referencias sexuales automágicamente!!!


Ejemplo:

Sin Commentator...

 
int sum = 0;
for (int i= 0; i < a.length; i++) {
sum += a[i];
}


Con Commentator...

verbosity=3, relevance=0, religous references on
   int sum = 0;
//goddamit I need some freaking coffee
for (int i= 0; i < a.length; i++) {
sum += a[i];
}


bitterness=9,profanity on
   int sum = 0;
//don't even fucking *think* about asking
for (int i= 0; i < a.length; i++) {
sum += a[i];
}


relevance=2,humour=8,verbosity=5
   //okey dokey, lets sum the elements of a
int sum = 0; // the sum of all fears
for (int i= 0; i < a.length; i++) {
sum += a[i];
// all your a[i] are belong to us
}

GET YOURS NOW!

:)