Message341391
FWIW, I've followed this pattern (one function is both decorator and factory) in my own code for quite a while. I've never found it confusing nor has anyone else (that I'm aware) that has used those decorators.
One reason I've done decorators this way is because the empty parentheses are a visual distraction to readers. They also imply to readers that more is going on than really is. So I'm in favor of Raymond's plan. |
|
Date |
User |
Action |
Args |
2019-05-04 15:54:18 | eric.snow | set | recipients:
+ eric.snow, rhettinger, scoder, eric.smith, giampaolo.rodola, dino.viehland, njs, serhiy.storchaka |
2019-05-04 15:54:18 | eric.snow | set | messageid: <1556985258.44.0.508339216474.issue36772@roundup.psfhosted.org> |
2019-05-04 15:54:18 | eric.snow | link | issue36772 messages |
2019-05-04 15:54:18 | eric.snow | create | |
|