Search
Programming Style 2

Programming Style 2

Programming Style 1 discussed various ways of structuring executable code to make it both understandable and reasonably safe. This document deals with how to define data.

  • How to define parameter/attribute collections (widht, thickness, nbolts, Fu, etc)
  • How to suport inheritance
  • Use of classes to carry data rather than instances of classes.