New update added to the private methods.
Writing code is more of an art than a science, I must opine. It's important to write well-refined, log...
For further actions, you may consider blocking this person and/or reporting abuse
I feel like you might be over-buying into the OO Python approach a bit? A lot of these are features that would be better communicated with a combination of docstrings, type hints, etc., rather than overloading internal representations.
Hi Cefeti,
Thank you for your comment.
Maybe you missed the overall goal of the post. You don't have to overload the internal representations. But in the case where you do, following the order expressed, helps your code to be better organised. The focus of this post is more around organising your python class methods. We will discuss writing better docstrings and type hinting in subsequent posts. I hope this clears your concerns
cheers !
Nice post! That's pretty neat approach. I wonder how would you organize your project directory tree, and app architecture :) Care to share?
Thank you Blazej for your comment.
Sure, I will create a subsequent discussing project organisation.
cheers mate !
Hello Pastor Emmanuel,
thank you for your article.
I've been programming with Python quite a bit lately.
Luckily, at this point in my usage, I have yet to program any classes in Python, but it is still quite insightful to see how this can be achieved in a clean manner.
Thank you Akin. Glad you find it insightful 😊
Thanks for this, good explanation and easy to see how you can organize your thoughts!
I'm glad you find it helpful Ben.
amazing post
Thank you for the comment
Nice, I like the public methods.