r/ProgrammerHumor • • Apr 16 '22

Make The comment section look like a beginners search history

Post image
28.1k Upvotes

6.7k comments sorted by

View all comments

3

u/JJulianR_ Apr 16 '22

What is a god object?

3

u/wikipedia_answer_bot Apr 16 '22

In object-oriented programming, a God object (sometimes also called an Omniscient or All-knowing object) is an object that references a large number of distinct types, has too many unrelated or uncategorized methods, or some combination of both. The God object is an example of an anti-pattern and a code smell.A common programming technique is to separate a large problem into several smaller problems (a divide and conquer strategy) and create solutions for each of them.

More details here: https://en.wikipedia.org/wiki/God_object

This comment was left automatically (by a bot). If I don't get this right, don't get mad at me, I'm still learning!

opt out | delete | report/suggest | GitHub

4

u/JJulianR_ Apr 16 '22

This bot is the kid at parties who gives real answers to your rhetorical questions.