3 ms·
Hold up. Stop. Read the parent closely. This is a case where the right answer is only obvious once it's been stated. > Its a great feature - but there should
by wwwtyro 8y ago
Hold up. Stop. Read the parent closely.
This is a case where the right answer is only obvious once it's been stated.
> Its a great feature - but there should have been another keyword for it: "also"
SmirkingRevenge - !@#$ing brilliant. You've stepped outside the box and presented an answer that will click as soon as it's read.
Someone make a PEP.
- hueving 8y ago"nobreak" also makes as much sense. Even Raymond Hettinger has suggested that, but getting a new keyword at this point in python is going to be really difficult.
- SmirkingRevenge 8y ago"nobreak" also works, and arguably has less ambiguity than my suggestion. And I agree getting a new keyword for such a limited use-case feature would be difficult and doesn't feel likely.
- gvx 8y agoHonestly, "else" wasn't confusing to me at all, but "also" would make me very confused.
- SmirkingRevenge 8y agoThat may be the nicest reply I've ever had on HN. Thanks!