• 0 Posts
  • 245 Comments
Joined 2 years ago
cake
Cake day: June 14th, 2023

help-circle
















  • I have never seen them used well. I expect there IS some use case out there where it makes sense but I haven’t seen it yet. So many times I’ve seen factories that can only return one type. So why did you use a factory? And a factory that returns more than one type is 50/50 to be scary.

    Yeah, I went through the whole shape examples thing in school. The OOP I was taught in school was bullshit.

    Make it simpler. Organizing things into classes is absolutely fine. Seven layers of abstraction is typically not fine.