This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hello all! Sorry if this is a noob question but this is one area I am still finding hard to understand in Python. When should I consider creating classes and when should I avoid using classes? I recently came across a youtube video where in the author demonstrated web scraping using classes. Although he demonstrated the real power of OOP in python and showed us how creating classes can make managing code much easier, this got me confused as I have not seen many such tutorials using classes to scrape websites. Any guidance on using classes, not specific to web scraping but for writing good scalable and reusable code in python would greatly appreciated.
Subreddit
Post Details
- Posted
- 3 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/learnpython...