On 11/14/2013 11:38 PM, Jacob Carlborg wrote:
On 2013-11-14 21:54, Walter Bright wrote:

If it is powerful enough to do async/await but look like normal D
syntax, then is going to suffer from these faults.

I don't think so. The idea is to have it look consistent within the language.
Take a look at __traits. It looks just like a function call, but it's far from
being a function call. Classes and structs look very similar, only the keyword
is different, but they are very different.


Think about the desired feature mentioned earlier in this thread of being able to insert a "return;" statement, causing what looks like a function call to return from the caller.

That's a major step increase in obfuscation, not just a detail.

Reply via email to