Re: two way benefits

2009-01-28 Thread Michael Wood
On Wed, Jan 28, 2009 at 5:24 PM, Christophe Grand wrote: > > Mark Volkmann a écrit : >> What are some benefits of allowing two ways of doing the following? >> [...] >> There are two ways to invoke a constructor to create a Java object. >> (def calendar (new GregorianCalendar 2008 3 16)) >> (def c

Re: two way benefits

2009-01-28 Thread Christophe Grand
Mark Volkmann a écrit : > What are some benefits of allowing two ways of doing the following? > > There are two ways to access constants in a Java class. > (. java.util.Calendar APRIL) > java.util.Calendar/APRIL > > There are two ways invoke a static method in a Java class. > (. Math pow 2 4) > (M

two way benefits

2009-01-28 Thread Mark Volkmann
What are some benefits of allowing two ways of doing the following? There are two ways to access constants in a Java class. (. java.util.Calendar APRIL) java.util.Calendar/APRIL There are two ways invoke a static method in a Java class. (. Math pow 2 4) (Math/pow 2 4) There are two ways to invo