optional (), what is done elsewhere

"Jérôme M. Berger" jeberger at free.fr
Mon Feb 4 09:10:52 PST 2013


deadalnix wrote:
> 1/ Ruby.
> 
> In Ruby, method are called without (). This is not ambiguous as 
> fields are always private.
> 
	Note that in Ruby, this line:

foo(1, 2)

	Means something different than:

foo (1, 2)

	That may not be ambiguous for the computer, but it sure is for the
programmer....

		Jerome
-- 
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130204/3e19acba/attachment.pgp>


More information about the Digitalmars-d mailing list