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
why aren't methods visible inside class definition
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-12-25 (18:23)
From: briand@a...
Subject: why aren't methods visible inside class definition

Any particular reason for this ?

After all values are visible so why aren't methods simply treated as
values which are functions and therefore visible also.

By visible, I mean that methods can nly be accessed using self#method_name


Thanks


Brian