Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,8 @@ Magic values should be avoided. If you do need to define a constant, it should b

Avoid `#define`s. Unless you're writing an actual macro. Then, by all means, go ahead.

@jonreid has good article about [why `#define` is a 'code smell'](http://qualitycoding.org/preprocessor/).

You may use Hungarian notation for implementation-level constants.

**For example:**
Expand Down