Do we want functions to act as properties, or merely omit parens for ufcs/chaining?

eles eles at eles.com
Tue Jan 29 06:40:42 PST 2013


On Tuesday, 29 January 2013 at 14:33:12 UTC, Chad Joan wrote:
> On 01/29/2013 09:14 AM, eles wrote:
>> On Tuesday, 29 January 2013 at 13:51:05 UTC, Chad Joan wrote:
>>> On 01/29/2013 06:26 AM, eles wrote:
>>>> On Tuesday, 29 January 2013 at 11:13:19 UTC, jerro wrote:
>>>>> to the one used for functions. That way, you can avoid 
>>>>> verbosity and
>>>>> the need to use implicit parameters
>>> IIRC, C# goes like this:
> Semantics != Syntax
>
> "Semantically" is a really important qualifier in formal 
> language discussion.

Syntax is a very subjective thing (remember that writeln = 
"hello"?).

Concepts are important to be constructed well. I think (well, 
subjectively), that properties are closer, conceptually, to 
variables than to functions.

At least, they should be.


More information about the Digitalmars-d mailing list