Not really, java annotations only specify metadata and don't change the flow. They just provide some information to be used by other classes or methods , etc In contrast python decorator is function wich returns another function (it can be used to wrap the original function or more) and changes the original flow
Обсуждают сегодня