Daily Dose of Data Science
Subscribe
Sign in
Home
Premium
Archive
About
Object-Oriented Programming
Latest
Top
Discussions
Why Don't We Invoke model.forward() in PyTorch?
Instead, we always invoke model(). Here's why.
Apr 28
•
Avi Chawla
18
Share this post
Why Don't We Invoke model.forward() in PyTorch?
blog.dailydoseofds.com
Copy link
Facebook
Email
Note
Other
Function Overloading in Python
A missing element of Python OOP.
Apr 21
•
Avi Chawla
34
Share this post
Function Overloading in Python
blog.dailydoseofds.com
Copy link
Facebook
Email
Note
Other
4
How Python Prevents Us from Adding a List as a Dictionary's Key?
Exploring the technical reason.
Apr 8
•
Avi Chawla
23
Share this post
How Python Prevents Us from Adding a List as a Dictionary's Key?
blog.dailydoseofds.com
Copy link
Facebook
Email
Note
Other
2
Create Robust and Memory Efficient Class Objects
Fix the attributes an object can ever possess.
Mar 15
•
Avi Chawla
37
Share this post
Create Robust and Memory Efficient Class Objects
blog.dailydoseofds.com
Copy link
Facebook
Email
Note
Other
3
7 Uses of Underscore in Python
Must-know for Python programmers.
Mar 2
•
Avi Chawla
86
Share this post
7 Uses of Underscore in Python
blog.dailydoseofds.com
Copy link
Facebook
Email
Note
Other
1
Define Elegant and Concise Python Classes with Descriptors
An underrated gem of Python OOP.
Feb 21
•
Avi Chawla
36
Share this post
Define Elegant and Concise Python Classes with Descriptors
blog.dailydoseofds.com
Copy link
Facebook
Email
Note
Other
4
Make Dot Notation More Powerful with Getters and Setters
The elegance of dot notation combined with the power of getters and setters.
Feb 20
•
Avi Chawla
38
Share this post
Make Dot Notation More Powerful with Getters and Setters
blog.dailydoseofds.com
Copy link
Facebook
Email
Note
Other
1
Python Does Not Fully Deliver OOP Encapsulation Functionalities
...and what we must always obey as programmers.
Jan 23
•
Avi Chawla
67
Share this post
Python Does Not Fully Deliver OOP Encapsulation Functionalities
blog.dailydoseofds.com
Copy link
Facebook
Email
Note
Other
3
The Most Common Misconception About __init__() Method in Python
Demystifying the __init__() method.
Jan 19
•
Avi Chawla
115
Share this post
The Most Common Misconception About __init__() Method in Python
blog.dailydoseofds.com
Copy link
Facebook
Email
Note
Other
You Were (Most Probably) Given Incomplete Info About How Python Dictionaries Work
Understanding the lesser-talked internal workings of a Python dictionary.
Jan 9
•
Avi Chawla
112
Share this post
You Were (Most Probably) Given Incomplete Info About How Python Dictionaries Work
blog.dailydoseofds.com
Copy link
Facebook
Email
Note
Other
3
A Consolidated List of 20 Most Common Magic Methods
Magic methods: The gem of Python OOP.
Nov 5, 2023
•
Avi Chawla
68
Share this post
A Consolidated List of 20 Most Common Magic Methods
blog.dailydoseofds.com
Copy link
Facebook
Email
Note
Other
4
One of the Most Critical Pillars of OOP is Missing from Python
But here's how to introduce it.
Oct 30, 2023
•
Avi Chawla
138
Share this post
One of the Most Critical Pillars of OOP is Missing from Python
blog.dailydoseofds.com
Copy link
Facebook
Email
Note
Other
6
Share
Copy link
Facebook
Email
Note
Other
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts