what is concerned best practice regarding the following \"pattern\"?
#ifndef BLAFOO_H #define BLAFOO_H /* ... * ... */ #endif /* BLAFOO_H */
I use an UUID that is my guarantee that #define not clashed with others. I've seen it somewhere and decided to use it as well.
#define
My pattern is like this: ___H___,
___H___
eg. #define __TYPES_H_79057761_16D6_478A_BFBC_BBF17BD3E9B9__ for a file named types.h
#define __TYPES_H_79057761_16D6_478A_BFBC_BBF17BD3E9B9__
types.h