| There are a few general pointers I believe can get out most paradigm questions: Functional
- problem is of a recursive nature
- eg, finding fibonacci numbers: its definition is recursive Object Oriented
- Suited for real world problems
- When things in the problem can be represented by objects communicating with each other to solve the problem Logic
- When AI is required
- Expert systems
- This paradigm is obvious when to use Imperative
- Pretty much anything that doesn't fit into those categories
- The problem can be solved with a series of sequential steps
__________________ Sunny
* No trees were harmed in the making or sending of this message. However a great number of electrons were terribly inconvenienced.
HSC Class of 2002
2008 UNSW BSc Computer Science Honours Class 1 |