[sv-ec] SV - method call - with or wihtout paranthesis

From: danielm <danielm_at_.....>
Date: Thu May 31 2007 - 01:31:52 PDT
IMHO there method call definition in SV is a little messy. 
Sometimes SV want methods to be called wihtout parathensis IE
<sequence>.triggered
Sometimes you can use both versions:
<enum>.next;
<enum>.next(2);
or even :
<enum>.next();
 
 
Maybe it is good idea to make this situation clear like in other languages:
- methods always have to be called with parathensis (if no arguments then
empty parathensis), 
- properties are referenced without parathensis
 
This even allow to have methods and properties with the same name, and make
code more readable.
 
best regards,
 
DANiel

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu May 31 01:32:30 2007

This archive was generated by hypermail 2.1.8 : Thu May 31 2007 - 01:33:09 PDT