@eDRoaCH

I was trying to sign up for your classes but I couldn't find the IOU option

@dirtydevotee

The difference between "..." and "pass" is subtle. "Pass" is a null. It does literally nothing and takes no extra overhead. It is used specifically for methods (because they return nothing) where the devs have not done any code in the block. It's a placeholder that clearly indicates "we haven't gotten to this yet".

On the other hand, an ellipse ("...") is an actual literal constant in Python (it's a singleton object of value "ellipsis"). This means you can use "return ..." at the end of a function because all functions must return something (or else they are methods), but if you haven't figured out what it needs to return yet then you can just "return ..." and the function will not throw a syntax error.

@DrDeuteron

Note that if there is any shared computations for the payment types, you can put that code in the abstract method and call super in the concrete classes’ payment method.  Idk about other languages, but in python, you can call abstract methods that are bound to ABCs from their concrete extensions in concrete sub classes.

@asagiai4965

The early examples are function overloading, not polymorphism.
Also, technically, only classes have polymorphism.

@danielputter

2:39 That’s operator overloading, not polymorphism. Polymorphism is adding values of multiple types to a value of one type (i.e. string + string, string + list, string + bytes)

@DrDeuteron

4:09 you can create the class without the abstract method, you just can’t instantiate from it.

@odiio3402

Nunca había implementado polimorfismo de esa forma, sin duda con este video ahora entiendo mucho mejor como lo hacen las funciones que tienen esa característica

@modmitch

Dang, is English not your first language? Your English is really really good.

@oromogamer1431

Thanks for the detailed explanation as you said in the intro I have been using this without knowing the name of it which surprised me. 🎉🎉

@Vassimau

Everyone stressing about not having a job and and thinking of everything I can do with it!

@elu1

well done in explaining the concept!

@andrzejsotys549

Please make a video about Composition and Inheritance.

@ChongFrisbee

PaymentType works better as a Protocol, in my opinion. But I can see why this wasn't used in the video

@thrillvilled111

Thanks man!

@miguelvasquez9849

i thought it was called "dependency injection"

@JarheadCrayonEater

This is just inheritance.

Polymorphism means to extend the functionality, which is not being done here at all.

@Pawlo370

no it didn't doing f-string in VSC

@afgfuturetube

What is meta class would you make a videos

@mr-john-smith

It is so confusing! You must have called it static polymorphism.

@nemoshu7119

Python is misspelt in the description😅