Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The term decorator generator is incredibly misleading, as it implies relation to Python generators. The term decorator factory (or just decorator with parameters) is preferrable.


Author here, and good point! I was struggling a bit with the terminology to use, didn't think of decorator factory, it definitely would have been a bit clearer.


Came here to say this exact same thing




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: