Notices
Non Scooby Related Anything Non-Scooby related

For all software engineers

Thread Tools
 
Search this Thread
 
Old 14 May 2003, 10:02 AM
  #1  
LC Geezer
Scooby Regular
Thread Starter
 
LC Geezer's Avatar
 
Join Date: Dec 2001
Posts: 426
Likes: 0
Received 0 Likes on 0 Posts
Post

Object-Oriented Reuse and the Kangaroo

From June 15, 1999 Defence Science and Technology Organisation Lecture Series, Melbourne, Australia, and staff report:
The reuse of some object-oriented code has caused tactical headaches for Australia's armed forces. As virtual reality simulators assume larger roles in helicopter combat training, programmers have gone to great lengths to increase the realism of their scenarios, including detailed landscapes and, in the case of the Northern Territory's Operation Phoenix, herds of kangaroos (since disturbed animals might well give away a helicopter's position).
The head of the Defence Science & Technology Organisation's Land Operations/Simulation division reportedly instructed developers to model the local marsupials' movements and reactions to helicopters. Being efficient programmers, they just re-appropriated some code originally used to model infantry detachment reactions under the same stimuli, changed the mapped icon from a soldier to a kangaroo, and increased the figures' speed of movement.
Eager to demonstrate their flying skills for some visiting American pilots, the hotshot Aussies "buzzed" the virtual kangaroos in low flight during a simulation. The kangaroos scattered, as predicted, and the visiting Americans nodded appreciatively... then did a double-take as the kangaroos reappeared from behind a hill and launched a barrage of Stinger missiles at the hapless helicopter. (Apparently the programmers had forgotten to remove that part of the infantry coding.)
The lesson? Objects are defined with certain attributes, and any new object defined in terms of an old one inherits all the attributes. The embarrassed programmers had learned to be careful when reusing object-oriented code, and the Yanks left with a newfound respect for Australian wildlife.
Simulator supervisors report that pilots from that point onward have strictly avoided kangaroos, just as they were meant to.
Old 14 May 2003, 10:14 AM
  #2  
beemerboy
Scooby Regular
 
beemerboy's Avatar
 
Join Date: Sep 2002
Location: Essexville
Posts: 4,391
Likes: 0
Received 0 Likes on 0 Posts
Post

haha thats a great story mate

had my devlopers in fits!!!

hehehe

BB
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
KAS35RSTI
Subaru
27
04 November 2021 07:12 PM
Sam Witwicky
Engine Management and ECU Remapping
17
13 November 2015 10:49 AM
Brzoza
Engine Management and ECU Remapping
1
02 October 2015 05:26 PM
Ganz1983
Subaru
5
02 October 2015 09:22 AM
Jamesh10
General Technical
3
01 October 2015 11:56 PM



Quick Reply: For all software engineers



All times are GMT +1. The time now is 08:45 PM.