W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2001

conformant function names

From: Dieter Köhler <dieter.koehler@ppp.uni-bamberg.de>
Date: Tue, 30 Jan 2001 11:25:30 +0100
Message-ID: <3A76969A.B83565FC@ppp.uni-bamberg.de>
To: "www-dom@w3.org" <www-dom@w3.org>
The DOM 2 core spec. states: "DOM implementations in languages other than Java
or ECMAScript may choose bindings that are appropriate and natural for their
language and run time environment. For example, some systems may need to create
a Document2 class which inherits from Document and contains the new methods and
attributes."

Is an implementation in other languages than Java or ECMAScript still conformant
if totally different names are chosen?  E.g. in C++ 'delete' is a keyword, so
MediaList's delete() method has to be renamed.  Is it conformant to name it
'remove'?  In Delphi it is common to use the expression 'count' instead of
'length' for the number of items in a list.

-- 
=====================================================================
 Dieter Köhler, M. A. - dieter.koehler@ppp.uni-bamberg.de
 Mittlere Kaulberg 22, D-96049 Bamberg, +49(0)951-5190726
 "http://www.philo.de/Philosophie-Seiten/": 1000+ Philosophie-Links
 "http://www.philo.de/VirtualLibrary/14.de.htm": Deutsche Philo-Links
 "http://www.philo.de/xml/": Open XML - XML-Komponenten für Delphi
=====================================================================
Received on Tuesday, 30 January 2001 05:25:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:48 GMT