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
22 weeks 12 hours ago
22 weeks 16 hours ago
22 weeks 16 hours ago
44 weeks 1 day ago
48 weeks 3 days ago
50 weeks 1 day ago
50 weeks 1 day ago
1 year 4 days ago
1 year 5 weeks ago
1 year 5 weeks ago