From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id E015DD179 for ; Wed, 27 Jul 2005 16:32:19 +0200 (CEST) Received: from web30512.mail.mud.yahoo.com (web30512.mail.mud.yahoo.com [68.142.201.240]) by nez-perce.inria.fr (8.13.0/8.13.0) with SMTP id j6REWI3m019936 for ; Wed, 27 Jul 2005 16:32:19 +0200 Received: (qmail 21409 invoked by uid 60001); 27 Jul 2005 14:32:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=tmJX/ZQ9VkvvTbFmzIxI2heOIS56O4q28MjTL72DjDhegtE1gbuIgt4e4UD3f5KSIYppvLR/gB8K6rrmLvfZG4AvtsH54u8Xsa6k1hoUfkflzQvL72BRfpK1mmtCq4vAj39HJHolKRD5Xzxpm13DdpIroAM8SmE5OsUd2+Tij4I= ; Message-ID: <20050727143217.21406.qmail@web30512.mail.mud.yahoo.com> Received: from [141.213.12.136] by web30512.mail.mud.yahoo.com via HTTP; Wed, 27 Jul 2005 07:32:17 PDT Date: Wed, 27 Jul 2005 07:32:17 -0700 (PDT) From: David Thomas Subject: Re: [Caml-list] Some Clarifications To: caml-list@yquem.inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Miltered: at nez-perce with ID 42E79AF2.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 stack:01 widget:01 abstraction:01 abstractions:01 wrote:01 wrote:01 abstract:01 data:02 data:02 types:02 discipline:03 consistent:03 programming:03 programming:03 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: ** X-Spam-Status: No, score=2.2 required=5.0 tests=FORGED_YAHOO_RCVD autolearn=disabled version=3.0.3 ADT's have traditionally been written in OO style. The thing that makes "OO programming" different from traditional programming is that the same methodology is extended to every component of the program. While yes, a stack with "push" and "pop" methods is an ADT, surely a text widget is not, even if coded in very much the same style. --- Ville-Pertti Keinonen wrote: > David Thomas wrote: > > > Any time you write a program that focuses on the > > components as "data and operations on that data," > > you have written an OO program. > > Not according to traditional terminology. What > you've done is used Abstract Data Types, which is one > of the most basic forms of abstraction that anyone > should learn in any programming language. > > Of course I've seen quite a few programmers who > don't have enough discipline to use consistent > abstractions unless they're forced to encapsulate > things in classes. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com