C
C#2y ago
CrosRoad95

✅ another question about naming

for simplicity assume i have a game in unity and some kind of car system. i have made class to create cars "CarsFactory" and i would like to make second class that let me know if car of specific id can be created, but in my opinion method in factory to check it is weird, any idea how can i name class? ping me if you know
3 Replies
Anton
Anton2y ago
I make XXXHelper static classes, which may have just functions or extension methods Make as many classes as you think make sense
CrosRoad95
CrosRoad95OP2y ago
i want one class to create, second to verify if something exists or not for now i put everything into factory, will refactor later
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity. Closed!
Want results from more Discord servers?
Add your server