Strange Laziness

Posted on:September 20 2006

From the wxPropertyGrid implementation:
// value = 2 means toggle (sorry, too lazy to do constants)void wxSimpleCheckBox::SetValue( int value 
Hm, wouldn't it been faster to write down a constant instead of that comment saying he is too lazy to do it? Hm. :)





Comments:


lool
nice comment
pyro
Quote
2006-09-20 21:58:00


Hmmm, why not make a method called "toggle"?
Matthias
Quote
2006-09-20 22:59:00


Add comment:


Posted by:


Enter the missing letter in: "Intern?tional"


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons