Skip to content

Conversation

@ABHIRANJAN-KUMAR1
Copy link

Summary:-
This PR adds a new “Anti-Patterns” section to the README file to explain which common design patterns are discouraged in Python and why.

Changes Made:-
Added a new section titled Anti-Patterns in README.md.
Explained why patterns like Singleton, God Object, and Overuse of Inheritance are not Pythonic.
Fixed earlier typo from “Singelton” → “Singleton”.
Followed Markdown structure and formatting style of the existing README.

mpact:-
Helps developers understand which patterns to avoid in Python projects.
Makes README more informative and beginner-friendly.
Addresses feedback from issue #256 about missing anti-pattern clarification.

@ABHIRANJAN-KUMAR1
Copy link
Author

Hi 👋,

This PR adds an “Anti-Patterns” section to the README to clarify which design patterns are discouraged in Python and why.
It includes brief reasoning for patterns like Singleton, God Object, Overuse of Inheritance, Premature Optimization, and Global State.

I also fixed the typo “Singelton” → “Singleton” and cleaned up some docstring formatting.

Hope this helps make the documentation more beginner-friendly and Pythonic!

Thanks for reviewing 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant