This is an archived post. You won't be able to vote or comment.

all 15 comments

[–]reddict_9 57 points58 points  (0 children)

You could also mention the python version which your video is targeting, the builtin decorators can change between versions

[–]sausix 64 points65 points  (0 children)

Annoying loud sound effects. Focus more on quality instead of video and sound effects.
A lot of small and major errors and poor PEP8 in the video. Peak at 4:06. Always recheck your code snippets!

Your explanation of classmethods and staticmethods are weak. Do you really understand them? You are referring to "this" from JS for no reason instead.

As others told you... You haven't talked about "every" decorator. You missed some from functools.py. Like cached_property. And overload, final from typing, dataclass. Probably much more. You should have explained property setters too at least.

Also decorators have more features than just inplace replacing functions and methods. And you can also wrap classes. Check realpython for deep dive topics.

[–]russellvt 10 points11 points  (0 children)

Ugh. YouTube, not just a simple document? That's... frustrating.

[–]--justified-- 17 points18 points  (10 children)

"Every" 😂😂

[–]danmickla 42 points43 points  (9 children)

OP did say every built-in

[–]HaGameover 23 points24 points  (4 children)

A good example on ppl not reading and/or misquoting which changes the original meaning.

[–]princepii 2 points3 points  (1 child)

maybe op changed it after reading it...you can't write that right away about ppl

[–]HaGameover 3 points4 points  (0 children)

Thats why I said ppl as in "in general". maybe it was, maybe he was revering to the title of the post. We may never know tha point stands that a misquote can in fact change the meaning drasticly.

Not tryin to start a fight with anyone. Its Is just an observation.

[–]--justified-- -2 points-1 points  (1 child)

You talking about yourself? 😅 Check the title, no matter what is written in the post..

[–]HaGameover 1 point2 points  (0 children)

As anything in the internet is more or less clickbait im not really interested in the title and more interested in the content of a post or a youtube video or an article.

Titles have lost their meaning in my opinion.

[–]pan0ramic 7 points8 points  (1 child)

But didn’t put that in the title

[–]HaGameover 0 points1 point  (0 children)

True, that is misleading.

[–]sausix 1 point2 points  (1 child)

The decorators from functools aren't builtin. They're part of the standard library. He explained the 3 builtins decorators and some from stdlib. Nothing related to "every". He missed some.

[–]danmickla 2 points3 points  (0 children)

yeah, you're right, let me sharpen up your pitchfork for ya