User loginNavigation |
archivesPython: Generator methodsThis recipe enables the use of the yield statement within a method by decorating that method with a wrapper for a generator object. Say what you will about Python, it does provide us with clever tricks such as this one. Post new comment vs. replyDoes anyone else find it very tempting to accidentally use the "Post new comment" area to reply instead of clicking reply under the message, since that feels like such a natural place to reply? I've done this like 20% of the time (submitted a top-level comment instead of a reply). If others have the same problem, I wonder if the interface can be customized somehow to avoid/lessen the chances of this? |
Browse archivesActive forum topics |
Recent comments
36 weeks 1 day ago
36 weeks 2 days ago
36 weeks 2 days ago
1 year 6 weeks ago
1 year 10 weeks ago
1 year 12 weeks ago
1 year 12 weeks ago
1 year 14 weeks ago
1 year 19 weeks ago
1 year 19 weeks ago