Common Files
I am working thru "beginning in direct 3d" which uses dx9.0 and I like the book very much. My question has to do with the use of common files from the sdk. I have a hard time not writing my code from the ground up and just piggy backing off of the common files it feels like cheatin and that I am losing out on valuble skills not setting the devices up my self. Is this common pratice to use the common files framework in a game. I see the advantage, and I will learn this if it is usable in a real application, or is it outdated like I have heard mfc has become. Any comments or perspectives would be wonderful.
thanks
Dapeos
It''s hard to know exactly what level is ''good'', but I''d say:
1) Code reuse is good.
Make use of code that is already written and tested, it will save you time and effort and allow you to concentrate on the problem at hand. It is never cheating (unless of course you''re copy''n''pasting for a course assignment).
2) Knowing how things work is good.
Understanding how to construct the DX objects from the basic API is useful when problems occur. Same is true of knowing assembly for various platforms, even though it is perfectly possible to go through an entire career without even touching assembly.
1) Code reuse is good.
Make use of code that is already written and tested, it will save you time and effort and allow you to concentrate on the problem at hand. It is never cheating (unless of course you''re copy''n''pasting for a course assignment).
2) Knowing how things work is good.
Understanding how to construct the DX objects from the basic API is useful when problems occur. Same is true of knowing assembly for various platforms, even though it is perfectly possible to go through an entire career without even touching assembly.
Understand what you are copying and then there is no problem. Code reuse is indeed something we should all try to do, but not on the expense of learning.
"Life is very short, and there''s no time for fussing and fighting my friend..."
"Life is very short, and there''s no time for fussing and fighting my friend..."
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement