7
achehab
7y

I've been creating my Typescript/C# projects using SOLID principles. Whenever someone randomly joins me in my projects at work, i feel they need a lot of help. Specially since they know programming, but are not familiar with SOLID.

Like ohhh ok you created a base class for that, or ohhh that method already exists in the base class sorry i've implemented it again, or ohhhh ok you already implemented this method in that class.

The more classes i create the more complicated it becomes, sometimes for me too!
I feel I have to write a documentation for the code I write just to keep up with the different, but code changes/augments so writing a doc is really time consuming.

However if i didnt create base classes or interfaces it would be less complicated to browse through method definitions.

I am happy with the code like that though, but in some specific times it's a pain in the ass.
Comments?

Comments
  • 2
    I think of it as an advanced course in OOP, it also gives you the opportunity to play with Unit Testing. I know you are a C# guy,
    I started here:
    https://codeproject.com/Tips/...
    Then i just read a lot of other articles to keep up.
  • 1
    I feel like balance is more important than perfectly SOLID codebase.. write as simple as possible, if it gets dirty (or will create a dirty solution), refractor. otherwise you may end up with complicated code to do easy things
Add Comment