English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
RE: [Caml-list] Some Clarifications
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-07-27 (13:53)
From: Ville-Pertti Keinonen <will@e...>
Subject: Re: [Caml-list] Some Clarifications
David Thomas wrote:

> language features provided to make it easier.  Any
> time you write a program that focuses on the
> components as "data and operations on that data," you
> have written an OO program.  This can be done in any

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.