Operator Overloading em Python: Personalizando Operadores na Prática - Curso Python POO: Aula 14
📌 Nesta segunda parte sobre Polimorfismo em Python, você aprofunda os conceitos vistos na aula anterior aprendendo como funciona o overload (sobrecarga) de métodos e operadores, além de dominar o Duck Typing, uma das características mais importantes da linguagem Python. Tudo isso com exemplos práticos que mostram como o Python implementa o polimorfismo de forma diferente de outras linguagens.⏱️ Assuntos abordados:
00:00 - Introdução à Parte 2 de Polimorfismo
00:45 - O que será estudado nesta aula
03:21 - Revisão dos pilares da Programação Orientada a Objetos
04:17 - Revisão: Override, Overload e Duck Typing
05:05 - Introdução ao Overload (Sobrecarga)
06:50 - Por que Python não suporta sobrecarga de métodos nativamente
16:48 - Sobrecarga de operadores (Operator Overloading)
21:04 - Criando operadores personalizados na prática
22:05 - Métodos mágicos (__eq__, __lt__, __gt__ e outros)
23:36 - Personalizando o comportamento dos operadores
31:11 - Os tipos de polimorfismo suportados pelo Python
31:22 - Introdução ao Duck Typing
32:10 - Como o Duck Typing funciona na prática
36:17 - O princípio "Se parece um pato..."
40:14 - Exemplos reais de Duck Typing em Python
43:33 - Sobrescrevendo métodos especiais (__str__)
45:25 - Criando funções utilizando Duck Typing
48:11 - Aplicações práticas do Duck Typing
50:25 - Preparação para os exercícios de Polimorfismo
Seja membro deste canal e ganhe benefícios:
https://www.youtube.com/channel/UCrWvhVmt0Qac3HgsjQK62FQ/join
Acompanhe o módulo 1 do Curso de Python
== https://youtube.com/playlist?list=PLHz_AreHm4dlKP6QQCekuIPky1CiwmdI6&si=2vA5CAXxVCFFGFn6
Acompanhe o módulo 2 do Curso de Python
== https://youtube.com/playlist?list=PLHz_AreHm4dk_nZHmxxf_J0WRAqy5Czye&si=Ib8gp0Y5HbIGo4ju
Acompanhe o módulo 3 do Curso de Python
== https://youtube.com/playlist?list=PLHz_AreHm4dksnH2jVTIVNviIMBVYyFnH&si=_LooOSV_sgW9Qdcu
Acompanhe o módulo 4 do Curso de Python
== https://youtube.com/playlist?list=PLHz_AreHm4dn_RXXoa3Ameh77f95Hgwv3&si=lEB9NW78JoxTLhhJ
Siga nosso canal de Cortes:
== Acesse: @CursoemVideoCortes
Ouça o nosso Podcast Experience:
== https://youtube.com/playlist?list=PLHz_AreHm4dlAL49NfFvf7lUP2jrcMlYQ&si=m9MdtJHSUKUwoPmN
Curso em Vídeo
Seja um apoiador: http://cursoemvideo.com/apoie
Doe Bitcoins: 18A9Se4FK2hSsDT7xZ7n5FdRQ47WCjcftw
Site: http://www.cursoemvideo.com
YouTube: http://www.youtube.com/cursoemvideo
Facebook: http://www.facebook.com/cursosemvideo
Apoio institucional
FAETEC: https://www.faetec.rj.gov.br
Patrocínio
HOSTNET: https://www.hostnet.com.br
ESTUDONAUTA: https://www.estudonauta.com
GAFANHOTOS: https://cursoemvideo.com/apoie
#PythonPOO #CursoPython #OrientacaoaObjetos Receive SMS online on sms24.me
TubeReader video aggregator is a website that collects and organizes online videos from the YouTube source. Video aggregation is done for different purposes, and TubeReader take different approaches to achieve their purpose.
Our try to collect videos of high quality or interest for visitors to view; the collection may be made by editors or may be based on community votes.
Another method is to base the collection on those videos most viewed, either at the aggregator site or at various popular video hosting sites.
TubeReader site exists to allow users to collect their own sets of videos, for personal use as well as for browsing and viewing by others; TubeReader can develop online communities around video sharing.
Our site allow users to create a personalized video playlist, for personal use as well as for browsing and viewing by others.
@YouTubeReaderBot allows you to subscribe to Youtube channels.
By using @YouTubeReaderBot Bot you agree with YouTube Terms of Service.
Use the @YouTubeReaderBot telegram bot to be the first to be notified when new videos are released on your favorite channels.
Look for new videos or channels and share them with your friends.
You can start using our bot from this video, subscribe now to Operator Overloading em Python: Personalizando Operadores na Prática - Curso Python POO: Aula 14
What is YouTube?
YouTube is a free video sharing website that makes it easy to watch online videos. You can even create and upload your own videos to share with others. Originally created in 2005, YouTube is now one of the most popular sites on the Web, with visitors watching around 6 billion hours of video every month.