473,385 Members | 1,630 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Ideal example of OOP


I've heard that ray tracers are an ideal example to show OOP in a good
light. Are there any other pedagogical examples?

Also, are there any websites comparing OOP approaches with other approaches
(e.g. functional)?

--
Dr Jon D Harrop, Flying Frog Consultancy
Objective CAML for Scientists
http://www.ffconsultancy.com/product...ex.html?usenet
Feb 3 '07 #1
1 1366
On Feb 3, 5:40 pm, Jon Harrop <j...@ffconsultancy.comwrote:
I've heard that ray tracers are an ideal example to show OOP in a good
light. Are there any other pedagogical examples?
Isn't this OT for this group? Here are my thoughts anyway though.

Depends on the context you're using them in. When teaching OOA&D in
the nineties I would always use the problem domain of the people I was
teaching. Harder work for the teacher, but more likely that they'll
find the examples useful and relevant.

I've written a couple of different ray tracers, one in Smalltalk and
one in C++. They are good, but there are a lot of distracting details
(3D maths, co-ordinate systems, physics etc.) that you'll also have to
teach. They're not really suitable for short courses because of this.

I found simple computer games to be better examples. I often used
Missile Command or other games of similar vintage.

The business examples often used to try to appear more relevant tend
to be so hopelessly naive as to be useless for teaching to anybody who
actually knows anything about business systems.
K

Feb 4 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: mixo | last post by:
Perfomance matters the most. So, what would be the ideal setup for permomance in Mysql? Machine specs: PIII 1.0 GHz 640 MB Ram 36 Gig Hd partions as follows: /dev/sda1 linux swap 1 Gig
3
by: Arvind Maurya | last post by:
Hi All We are facing problems like unable to cast object of a type to same type while calling Activator.GetObject() function. But the same problem disappears when Visual Studio .Net in installed on...
1
by: Dave | last post by:
Hello all, I'd like to find a way to inject N overloads of a static member function named Create() into a class foo. The number and type of the parameters of these overloads will be fixed at...
2
by: | last post by:
I was wondering if the seasoned pros on the asp and db forums including (Bob, Ray, Aaron, Curt and others) would mind offering advice on ideal laptop requrements for web development requirements. ...
1
by: Satish Appasani | last post by:
Is there any ideal way of passing values to another page using Post method and avoiding Sessions and Viewstate? I have used Viewstate unsuccessfully. Though I've set all the required attributes...
12
by: Christian Blackburn | last post by:
Hi Gang, I would like to customize the installation's logo. What are the ideal dimensions for a BannerBitmap? MSDN just tells me how to use the properties window (ya like I didn't already know...
1
by: Campano, Troy | last post by:
Is there a guide to build an 'ideal' postgresql server? By ideal I mean the ideal to set up the postgresql server for a production environment. Stuff like separating log files on separate disks...
4
by: Richard Levasseur | last post by:
(Forewarning, most of these problems and solutions come from being the only developer in a 1 server department with no budget, few resources, unresponsive IT, and non-technical managers, so thats...
0
by: R. Rajesh Jeba Anbiah | last post by:
While lurking at Delphi, I thought of coming up with better IDE for PHP. So, define your ideal IDE. Just explain the killing features you want or expecting instead of mentioning other available...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.