Archived

This topic is now archived and is closed to further replies.

RanBlade

Programming Theory

Recommended Posts

Ok I have a quick question that I cant seem to figure out on my own.(or atleast I dont think I can). What does programming theory consist of? does it just mean you understand how things work not just how to use them? does it mean you understand something more? what exactly does it mean? I hear people say you need to know theory in order to be good but what exactly is defined as "theory"... I have been searching the last few days and cant seem to find anyhting worth note on it. Thanks for the clarification in advance.

RanBlade "Passion is what drives you to stay up until 4am fixing that bug that hardly anyone would notice...Passion is where great games come from, if you dont live and breathe games you shouldn''t be in the games industry." - Dave Pottinger, Ensemble Studios
[GameDev][C++ Page][Game Tutorials][FreeBSD][HawkNL(Hawk Network Library)][NeHe Productions][Gamedev book''s] [Virtually Online-Books][Mage Tower Ent-My Site]

Share this post


Link to post
Share on other sites
By therory they probably mean things such as data structures and algorithms. In the context of 3D-Graphics (as well as other topics) therory will also mean the mathematics that 3D-Graphics is based on.

Understanding data structures and algorithms is vital if you wish to be able to program anything non-trivial. Data structures are what hold your data in a way that makes it easy to use in the way you want it to be used. Three common data structures are arrays, linked-lists and trees. Many more data structures are based on those three basic types. Algorithms are basically a set of instructions that acomplishes something. For example sorting algorithms put data into a specified order. Many algorithms rely on data being in a certain structure.

Share this post


Link to post
Share on other sites
From Merriam-Webster:

quote:

1 : the analysis of a set of facts in their relation to one another
2 : abstract thought : SPECULATION
3 : the general or abstract principles of a body of fact, a science, or an art.



So if you know the theory of your problem domain, you are able to think in abstract terms about the problem at hand. This allows you to come up with a solution without heading down too many dead-ends.



[edited by - HairyTroll on January 4, 2004 12:48:30 PM]

Share this post


Link to post
Share on other sites