On 11/08/2011 7:20 PM, Patrick Walton wrote:
Should log permit multiple values too?
I get the feeling log is going to turn into a macro, with a version that is combined with #fmt. But this is just a guess.
I don't see why adding the tycon back introduces so much complexity, to be honest.
It's 3 new AST nodes (an expr form, a type form, a pattern form) as well as a new ty::t node, a new case in every stage in the compiler that interacts with any of those, and new parsing logic in each of those grammars to handle disambiguating comma in other contexts.
More significant than the amount-of-work to do it, is the ongoing (slight) cognitive cost to all users. It adds these cases to everyone who has to think about the language, tool it, write it, etc. That's the complexity I'm more concerned about. I can hack up the code if need be.
We decided the cost-savings argument overruled the convenience argument last time.
-Graydon _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
