Preprocessor crusader, I

| | Comments (0) | TrackBacks (0)
5:11 PM me: so I noticed a file with
#ifndef nsBlah_h_
#define nsBlah_h__
at the top
  so I set off on a crusade to find that kind of mistake
  most. boring. crusade. ever.
  
 Adam: hahaha
5:12 PM that's awesome
  in all the codebase?
  you could automate that
  how did you want to fix it?
5:13 PM me: well
5:14 PM they just need to match
  there should be a convention
  but that's not even remotely the case
 Adam: ohhh
  two underscores
  didn't see that
 me: yea
5:15 PM I guess I don't care
  because you'd get compiler errors if you ever did #include that file twice
  and then somebody would fix it
5:16 PM Adam: haha
  the crusade ends
 me: this is like King Richard I saying "I guess I don't care if the infidels refuse Christ; they'll go to hell anyway"
5:17 PM Adam: hahah
  exactly like that

0 TrackBacks

Listed below are links to blogs that reference this entry: Preprocessor crusader, I.

TrackBack URL for this entry: http://benjamn.com/mt-tb.cgi/63

Leave a comment

About this Entry

This page contains a single entry by Ben Newman published on March 11, 2009 1:03 AM.

In praise of Kindle for iPhone was the previous entry in this blog.

Flat is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Categories

Pages

Powered by Movable Type 4.25