Thank you for your help. No wonder I was confused when I couldnât tell the difference between an at sign and an asterisk.
And thank you for your time and courtesy.
Sean43
there is nothing âbeginnerâ with regards to the topic of decorators. In fact, this is considered a rather advanced topic. If you are just starting out, I would steer clear from this topic as it can get confusing really fast as there are many forms that they can take (from built-ins to user defined decorators - function decorators / class decorators, etc.). This is generally covered well after you have covered object oriented programming (OOP) which is another huge topic onto itself. Stick to learning the fundamentals first: loops, iterables, lists, functions, parameters, dictionaries, conditional statements, scope, importing, etc. Once you have covered these topics at a minimum, then you will be in a better position to understand decorators.
Defining them can be complex, but itâs usually safe to use them. Particularly if you get into web frameworks and such, youâll likely be making good use of decorators that other people have created.
Right now I am actually covering this very topic in depth. So many versions possible. I am sure it will make more sense once I actually start applying them to something practical and tangible as opposed to just going over the theory and countless examples.