<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Well, one can always create a TYPE Object and then<br>
    descend many other types from that.   I do that in<br>
    a module called Objects which exports a type<br>
    Object.  I then build generic lists, sets, stacks,<br>
    queues based on Object as well as Reals,<br>
    Ints, Bools, ... which are specific instances of<br>
    an Object.  All of that works well.<br>
    <br>
    But one is not forced to do that by the language.<br>
    Its up to the programmer.<br>
    -Doug Danforth<br>
    <br>
    <div class="moz-cite-prefix">On 1/7/2017 11:33 AM, Richard Hable
      wrote:<br>
    </div>
    <blockquote cite="mid:578f9493-f9aa-21f9-55fe-42bb99fb6740@aon.at"
      type="cite">
      <pre wrap="">Am 2017-01-06 um 17:24 schrieb Lars:

</pre>
      <blockquote type="cite">
        <pre wrap="">Do you mean an object that is empty without any fields in some bizarre
language? or an object with a bunch of untyped fields, maybe ruby?
</pre>
      </blockquote>
      <pre wrap="">
No, I mean a predefined type "Object" which is the implicit base type of
all declared classes; e.g. in the Java programming language
(java.lang.Object).

It was proposed as an alternative to generics (type parameters) in this
list and apparently has been introduced in at least one extension of the
Oberon programming language.

Richard

--
<a class="moz-txt-link-abbreviated" href="mailto:Oberon@lists.inf.ethz.ch">Oberon@lists.inf.ethz.ch</a> mailing list for ETH Oberon and related systems
<a class="moz-txt-link-freetext" href="https://lists.inf.ethz.ch/mailman/listinfo/oberon">https://lists.inf.ethz.ch/mailman/listinfo/oberon</a>

</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Danforth of the Greenwood</pre>
  </body>
</html>