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

Decorators aren't difficult to understand. It tells you that the function is modified in some way. Iterables and list comprehensions are also easy to read, and I do not have a deep understanding of Python at all.


Right. I saw my first decorator before I knew what one was, and just from looking at it I knew enough to ask my friend "This thing looks like it's modifying the function somehow, what is it?".




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

Search: