On 2011-10-04 12:12, Christophe wrote:

I don't really like this idea. D has limitations to accepted symbol that
are strict, but handy in many cases. Accepting strange character in a
method name can lead to parsing ambiguities and I like the way D enforce
non-ambiguous code. I understand why we can think that the question mark
is nicer than an auxilliary in this case, but where to draw the line?
The question mark already lead to a (small) parsing ambiguity.

Yeah, that's what I was thinking. If we allow "name?" should we allow "name!" as well (as Ruby does). Is there anything else we should allow? Allow everything?

I was thinking something like that.

--
/Jacob Carlborg

Reply via email to