7 ms·
It was only a few years ago (2015?) that people asking for destructured assignment were treated like simpletons, with a long, jargon-laden explanation how the l
by ncmncm 5y ago
It was only a few years ago (2015?) that people asking for destructured assignment were treated like simpletons, with a long, jargon-laden explanation how the language formal syntax for destructured "let" was incompatible with assignment syntax as it was then, as if syntax were not something that could be extended anytime, or as if there would be no choice but to express it using the same nonterminals for both.
Yet, here it is. I was not fooled, but the attitude left a deep impression.
- kibwen 5y agoThe amount of implied persecution in this comment makes it hard to take this seriously. The original proposals for this suggested extending the full pattern grammar to the LHS of assignments, which would have been a bad idea. Instead, and indeed as you suggest, people came up with a different proposal that hardcoded a subset of the pattern grammar into this context in order to support a majority of what people would like to use this feature for. I have a hard time believing anyone associated with the project treated anyone like a simpleton at any point of the process; problems with the proposal were pointed out and solutions were found.
- ncmncm 5y agoYou may believe whatever you like, but the evidence is all preserved where anybody may read it. And, notably, it is now, six, seven? years later; it could have been implemented any time, including right then. It was not my proposal, and I was not persecuted, so that projection is pure fantasy.
- pcwalton 5y agoPeople disagree about proposed language features. That's not a surprise. It's a sign of a healthy community where debate is encouraged. Besides, C++ ships features at a glacial pace compared to Rust, so I'm not sure what your point is.
- ncmncm 5y agoIt is one thing not to implement a requested feature, entirely another to invent transparently dishonest reasons why it cannot be done.
- pcwalton 5y agoIt's not dishonest to point out that the syntax would have to be made more complex and that there are downsides to that. It takes 30 seconds to find a comment somewhere here on HN decrying the complexity of modern languages. None of those comments are dishonest, even if I don't agree with them.
- ncmncm 5y agoThat would be fine, except that was not at all its substance. The claim was that it was not possible, something I recognized at the time as farcical and a disgrace. I have no recollection who penned it, but can only hope the author has since left the project, or been ejected.
- pcwalton 5y agoYou don't remove people from a project for being wrong about whether a proposed feature works in the syntax. That's silly.
- expnkx 5y ago
- dang 5y agoWe've banned this account for egregiously breaking the site guidelines. You can't use HN to attack people. If you don't want to be banned, you're welcome to email hn@ycombinator.com and give us reason to believe that you'll follow the rules in the future. Besides not attacking people, that would include not posting flamewar comments and not using HN for an agenda the way you have been.