Author eric.snow
Recipients dino.viehland, eric.smith, eric.snow, giampaolo.rodola, njs, rhettinger, scoder, serhiy.storchaka
Date 2019-05-04.15:54:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556985258.44.0.508339216474.issue36772@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-05-04 15:54:18eric.snowsetrecipients: + eric.snow, rhettinger, scoder, eric.smith, giampaolo.rodola, dino.viehland, njs, serhiy.storchaka
2019-05-04 15:54:18eric.snowsetmessageid: <1556985258.44.0.508339216474.issue36772@roundup.psfhosted.org>
2019-05-04 15:54:18eric.snowlinkissue36772 messages
2019-05-04 15:54:18eric.snowcreate