Changeset 4509 for trunk/manuals

Show
Ignore:
Timestamp:
10/16/08 07:18:13 (3 months ago)
Author:
pmoura
Message:

Updated comparison between Logtalk and Java nomenclature.

Location:
trunk/manuals
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/manuals/index.html

    r4507 r4509  
    3232    <div class="copyright"> 
    3333        <span>Copyright &copy; <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> &mdash; <a href="http://logtalk.org">Logtalk.org</a></span><br/>  
    34         <span>Last updated on: October 12, 2008</span> 
     34        <span>Last updated on: October 16, 2008</span> 
    3535    </div> 
    3636    <div class="navbottom"> 
  • trunk/manuals/userman/index.html

    r4497 r4509  
    304304    <div class="copyright"> 
    305305        <span>Copyright &copy; <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> &mdash; <a href="http://logtalk.org">Logtalk.org</a></span><br/> 
    306         <span>Last updated on: October 11, 2008</span> 
     306        <span>Last updated on: October 16, 2008</span> 
    307307    </div> 
    308308    <div class="navbottom"> 
  • trunk/manuals/userman/nomenclature.html

    r3963 r4509  
    2323 
    2424<p> 
    25 Depending on your Object-oriented Programming background (or lack of it), you may find Logtalk nomenclature either familiar or at odds with the terms used in other languages. In addition, being a superset of Prolog, terms such as <em>predicate</em> and <em>method</em> are often used interchangeably. Logtalk inherits most of its nomenclature from Smalltalk, arguably (and somehow sadly!) not the most popular OOP language nowadays. In this section, we try to map nomenclatures from popular OOP languages such as C++ and Java to the Logtalk nomenclature. 
     25Depending on your Object-oriented Programming background (or lack of it), you may find Logtalk nomenclature either familiar or at odds with the terms used in other languages. In addition, being a superset of Prolog, terms such as <em>predicate</em> and <em>method</em> are often used interchangeably. Logtalk inherits most of its nomenclature from Smalltalk, arguably (and somehow sadly) not the most popular OOP language nowadays. In this section, we map nomenclatures from popular OOP languages such as C++ and Java to the Logtalk nomenclature. 
    2626</p> 
    2727 
     
    104104</dl> 
    105105<dl> 
     106    <dt><strong>assertion</strong></dt> 
     107        <dd>There is no <code>assertion</code> keyword in Logtalk. Assertions are supported using Logtalk compilation hooks.</dd> 
     108</dl> 
     109<dl> 
    106110    <dt><strong>extends</strong></dt> 
    107111        <dd>There is no <code>extends</code> keyword in Logtalk. Class inheritance is indicated using <em>specialization</em> relations. Moreover, the <em>extends</em> relation is used in Logtalk to indicate protocol or prototype extension.</dd> 
     
    132136</dl> 
    133137<dl> 
     138    <dt><strong>inner class</strong></dt> 
     139        <dd>Inner classes are not supported in Logtalk.</dd> 
     140</dl> 
     141<dl> 
    134142    <dt><strong>instance</strong></dt> 
    135143        <dd>In Logtalk, an instance can be either created dynamically at runtime or defined statically in a source file in the same way as classes.</dd> 
     
    146154    <dt><strong>method signature</strong></dt> 
    147155        <dd>Logtalk selects the method/predicate to execute in order to answer a method call based only on the method name (functor) and number of arguments (arity). Logtalk (and Prolog) are not typed languages in the same sense as Java.</dd> 
     156</dl> 
     157<dl> 
     158    <dt><strong>reflection</strong></dt> 
     159        <dd>Logtalk supports both <em>structural reflection</em> (using a set of built-in predicates and built-in methods) and <em>behavioral reflection</em> (using event-driven programming).</dd> 
     160</dl> 
     161<dl> 
     162    <dt><strong>static</strong></dt> 
     163        <dd>There is no <code>static</code> keyword in Logtalk. See the entries on <em>class methods</em> and <em>class variables</em>.</dd> 
    148164</dl> 
    149165<dl> 
     
    163179    <div class="copyright"> 
    164180        <span>Copyright &copy; <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> &mdash; <a href="http://logtalk.org">Logtalk.org</a></span><br/>  
    165         <span>Last updated on: December 9, 2007</span> 
     181        <span>Last updated on: October 16, 2008</span> 
    166182    </div> 
    167183    <div class="navbottom"> 
  • trunk/manuals/userman/userman.header

    r4507 r4509  
    3636        <span>http://logtalk.org/</span> 
    3737    </p> 
    38     <p class="date">Last updated on October 11, 2008</p> 
     38    <p class="date">Last updated on October 16, 2008</p> 
    3939</div> 
    4040