The Rules of Programming by Chris Zimmerman

The Rules of Programming by Chris Zimmerman

Author:Chris Zimmerman
Language: eng
Format: epub, mobi
Publisher: O'Reilly Media, Inc.
Published: 2022-06-14T00:00:00+00:00


How to format code

How to use language features, including which to use and which to avoid

Conventions for all the common problems we solve. (We have a very standardized way to write a state machine, for instance, because our game code has lots of state machines.)

Where to draw file boundaries

How to represent constants in the code. (It’s not enough to say that you’re going to use a #define or a const instead of embedding magic numbers in your code—what should you name your const named? Where should you define it: near the use, at the top of the source file with the other constants, or maybe in a project-wide header file?)



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.