Main /

Scratchpad

Machine

Art

Social

Admin

edit SideBar

Scratchpad

When I see :

if (blah.IsApproved()) {

   //...foo

}

Something is wrong. No, not the fact that it *could* be rewritten as inheritance...that's not the point. I'm talking about the condition *itself*. I believe in active voice while writing English. Is it possible to maybe extend this idea into programming? So, instead of blah.IsApproved(), someone

Recent Changes (All) | Edit SideBar Page last modified on August 01, 2007, at 04:30 AM Edit Page | Page History
Powered by PmWiki