News for hackers. Stuff that matters.
Re:Tips for naming variables by Deestan on Wednesday May 13, 2009 @08:11AM (#606764)
> Example. If your customer just considers “order” an “order” that has been approved, don’t call “order” to a non approved one in your code, call it “nonApprovedOrder”.

Doesn't this violate his rule #5?

Re:Tips for naming variables by albertoG on Wednesday May 13, 2009 @08:33AM (#606787)
Hi Deestann, good catch, I should have stressed that these are guidelines not rules, what I meant is if possible use positive logic, but it fits better the negative, use the negative one.

Thanks for the comment