Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • While there may be a decent answer for you, I'd suggest you go out into that real-world thing and find yourself a mentor. Just someone who knows OO to discuss some modeling ideas with should help you a ton. Commented Sep 12, 2017 at 6:06
  • 3
    Unfortunately, your question is much too broad for the Stack Exchange Q&A format, since even one possible answer (and there are many) is literally a 1200 page book. Commented Sep 12, 2017 at 6:44
  • 2
    Possible duplicate of Clean OOP-Design: How to implement single responsibility and no procedural programming Commented Sep 12, 2017 at 7:05
  • 2
    If the only programs you are interested in writing are small (let's say less than 100 lines of MATLAB code), then you probably don't really need to change anything. It would probably help, but it may not be worth the effort. If, on the other hand, you want to make larger programs, then the approach you are describing is inadequate regardless of whether you use objects and classes or not. At that point you are getting into software design and architecture and as Jörg W Mittag states, that's a large field. Commented Sep 12, 2017 at 7:05