delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/01/23:05:10

From: Charles Krug <charles AT pentek DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++ to C converter?
Date: Fri, 29 Aug 1997 09:10:46 +0100
Lines: 20
Message-ID: <34068406.12F3@pentek.com>
References: <3404A83D DOT E6573CAB AT rmorton DOT com> <3405CDB5 DOT 1D32 AT sentex DOT net> <5u5u1o$82d AT freenet-news DOT carleton DOT ca>
NNTP-Posting-Host: mail.pentek.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Paul Derbyshire wrote:

> 
> Temujin (temujin AT sentex DOT net) writes:
> ...why do OOP profs always use a class vehicle, why
> not class fruit or class human or something?

IMO, the worst OOP example is, "A Circle is a Kind of ellipse."  The
problem is that many of the people who crunch code also  know several
formal mathematical definitions of "Circle" and "Ellipse."  Inevitably,
some poor soul reads the comp.lang.c++ FAQ, which spends six pages
discussing "Circle and Ellipse", and opens yet another thread mincing
the distinctions between computer functions and formal mathematics. 
(Yes, I made that mistake in my first post to C.L.C++.)

BTW--does "class fruit" inherit from "class food" or from "class
human"?  What about "class clown?"

-- 
Charles Krug, Jr.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019