View Single Post
Old May 22nd, 2006, 11:43 AM   #31
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Quote:
Create classes that have the properties of things like vectors, complex numbers, Cartesian co-ordinates etc. Take your inspiration from math and physics. While making the classes include functions that properly manipulate and allow calculations using those data types.
And that's "DON'T WRITE PROGRAMS" ????
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote