Okt 29 2009

Commenting on your code

Christoph

// why the f*ck am I commenting on your code? I should be
// testing this to see if it actually works…

Source: Direct link to the source code
Programming language: C++

1 Star2 Stars3 Stars4 Stars5 Stars (4 Bewertungen, Durchschnitt: 4.25 von 5)
Loading ... Loading ...

Okt 29 2009

Use result class!

Christoph

// TODO I am a jackass. I seem to have put some sort of
// errorCode / data return object here. use Result class!

Source: Direct link to the source code
Software: WorkgroupManager
Programming language: C#

1 Star2 Stars3 Stars4 Stars5 Stars (4 Bewertungen, Durchschnitt: 3.75 von 5)
Loading ... Loading ...

Okt 28 2009

Pulp Fiction

Christoph

# You know that scene in Pulp Fiction where Jules is cleaning
# the car with Vincent and says “I will never forgive
# your ass for this sh*t.” I know that’s what you’re
# thinking right now about me, but honest, this so wasn’t
# my fault. For some reason, on the mass change form, this is
# the ONLY thing added to the query for the next 600 lines
# of code. Then the query gets run. If you just whack this
# line, it runs:

Source: Direct link to the source code
Software: OSU Helpdesk Project
Programming language: Perl

1 Star2 Stars3 Stars4 Stars5 Stars (6 Bewertungen, Durchschnitt: 4.50 von 5)
Loading ... Loading ...

Okt 27 2009

Try to implement

Christoph

// try to implement the last … blue … or, uhm, green.
// He looks pretty f*cking blue to me

Source: Direct link to the source code
Software: Pacman
Programming language: C#

1 Star2 Stars3 Stars4 Stars5 Stars (4 Bewertungen, Durchschnitt: 4.00 von 5)
Loading ... Loading ...

Okt 26 2009

Get out. just…out.

Christoph

if(/^.*?\d+.*?(http:\/\/.*?)\/$php.*/) {
  # ok, what the f*ck. get out. just…out.
  # repeat everything above, just WORSE
  $h{$1}++;
}

Source: Direct link to the source code
Software: Perl Underground
Programming language: Perl

1 Star2 Stars3 Stars4 Stars5 Stars (4 Bewertungen, Durchschnitt: 4.00 von 5)
Loading ... Loading ...