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.
Hi there: I always considered good practice working with small classes and, if needed, adding functionality to the main class by adding an instance of other classes as fields. However, reading code for game development, I noticed that classes representing a game usually have many, many lines: complex methods for rendering, handling input from the user, game logic, etc, etc. WHEN do you decide to refactoring and extract behaviors to other classes? I've read very opposite opinions, from. Any consideration would be appreciated. Thanks and excuse my english4"
Subreddit
Post Details
- Posted
- 4 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/csharp/comm...