¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.

Comentarios graciosos de programador

2 participantes

 :: Offtopic

Ir abajo

Comentarios graciosos de programador Empty Comentarios graciosos de programador

Mensaje por Lonking Mar Feb 15, 2011 11:57 am

Código:
/*
 * OK; before you read the following code know what I am trying to do.
 * I needed to get the list of child catagories from the root node so that
 * the root node didn't appear in the selection box. But for some stupid
 * fucking reason the stupid fucking DBA wont let me access the items using
 * indices and I instead have to use their stupid fucking Iterator
 * implementation. So there.
 */
$firstList = $this->getRootNode()->getChildren();
foreach ($firstList as $node)
{
    $nodes = $node->getChildren();
    break;                // wtf?
}
Código:
// no comments for you
// it was hard to write
// so it should be hard to read
Código:
// drunk, fix later
Código:
//When I wrote this, only God and I understood that I was doing
//Now, God only knows
Código:
//I am not sure why this works but it fixes the problem.
Código:
At top: # To understand recursion, see the bottom of this file.
At bottom: # To understand recursion, see the top of this file.

Muchos otros más en: http://cobaia.net/2010/09/top-funny-source-code-comments/
Lonking
Lonking
Junta Directiva

Mensajes : 2045
Reputación : 106
Gustos : Tortitas.... dulces y deliciosas tortitas.... *¬*

Volver arriba Ir abajo

Comentarios graciosos de programador Empty Re: Comentarios graciosos de programador

Mensaje por Jocántaro Mar Feb 15, 2011 10:57 pm

Algunos me suenan de algo...

Pero a mí me han matado estos xDDDD

Código:
1 //hack for ie browser (assuming that ie is a browser)

Código:
1 /**
2 * For the brave souls who get this far: You are the chosen ones,
3 * the valiant knights of programming who toil away, without rest,
4 * fixing our most awful code. To you, true saviors, kings of men,
5 * I say this: never gonna give you up, never gonna let you down,
6 * never gonna run around and desert you. Never gonna make you cry,
7 * never gonna say goodbye. Never gonna tell a lie and hurt you.
8 */

Código:
1 options.BatchSize = 300; //Madness? THIS IS SPARTA!

Menudas idas de pinza...xDDDD
Jocántaro
Jocántaro
Héroe

Mensajes : 840
Reputación : 22
Gustos : Manganime, videojuegos, rol, informática, literatura.

Volver arriba Ir abajo

Volver arriba

- Temas similares

 :: Offtopic

 
Permisos de este foro:
No puedes responder a temas en este foro.