Daniel, This was a ballot issue during IEEE standardization, and it was resolved in favor of the Uniform Access Principle http://www.eda-stds.org/svdb/bug_view_page.php?bug_id=0000093 <http://www.eda-stds.org/svdb/bug_view_page.php?bug_id=0000093> as in the Eiffel and Ruby programming languages. -- Brad ________________________________ From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On Behalf Of danielm Sent: Thursday, May 31, 2007 1:32 AM To: sv-ec@eda.org Subject: [sv-ec] SV - method call - with or wihtout paranthesis 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 <http://www.mailscanner.info/> , and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Thu May 31 07:46:28 2007
This archive was generated by hypermail 2.1.8 : Thu May 31 2007 - 07:46:34 PDT