Code Like An Asshole #2

In C++:

class Foo {
public:
    Foo( void ) { delete this; }
};

2 comments on ‘Code Like An Asshole #2’

Missed the semicolon after the class definition :) (Don't know if this was part of the game :)

d.

Tuesday, April 29, 2008; 1:32 am
Good catch! I hate those damn semicolons. :)
Wednesday, April 30, 2008; 11:33 am

Add a comment to ‘Code Like An Asshole #2’.