Skip to main content
GameDev.net gamedev.net

PRO Tired of ads? Read GameDev.net ad-free and help keep the community independent with GameDev Pro — $3/month.

Expectations for all your code, always

Expectations for all your code, always

3,385 2

Part 1

  1. It needs to work. And by work I mean execute without crashing.
  2. It needs to do what you expect it to do.
  3. It needs to have code you can actually read and debug.

Part 2

  • No Syntax Errors
  • No Warnings (from the compiler)
  • It has tests (yes, even asserts)
  • It passes test.
  • It logs errors.
  • It does not crash.
  • Someone who doesn't know you won't kill you for writing completely illegible code.
  • It has instructions. For the user.


Discussion

Loading comments...