Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!decwrl!bacchus.pa.dec.com!deccrl!decvax.dec.com!zinn!ditka!tsisj1!hg From: hg@tsisj1.UUCP (Heinrich Gantenbein) Newsgroups: comp.std.c++ Subject: Re: foo() => foo Keywords: function call syntax Message-ID: <241@tsisj1.UUCP> Date: 3 Aug 90 21:56:54 GMT References: <26717@pasteur.Berkeley.EDU> Sender: news@tsisj1.UUCP Organization: Thermco Systems, Inc., San Jose, California Lines: 17 In article <26717@pasteur.Berkeley.EDU> krste@ICSI.Berkeley.EDU ( Krste Asanovic) writes: >Suggestion: If a function can be called with no arguments, then it >should be possible to call it without using the superfluous empty >parenthesis. E.g. > b = a.value; > b = a.value(); // Still legal of course. This one of the nice features (my opinion) of C over Pascal. It makes it very clear at each point if it is a function call or a reference to a variable. I think this should be kept exactly as is. -- Heinrich Gantenbein, Software Consultant: I'd rather be sailing. hg@tsisj1.uucp ..!apple!ditka!tsisj1!hg ...!mips!daver!ditka!hg