5:11 PM me: so I noticed a file with
#ifndef nsBlah_h_
#define nsBlah_h__
at the top
#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

Leave a comment