4
donuts
7y

!rant

Interview prep question. My understanding now is, at least in theory is: always use SOLID. I've never really understood it explicitly though I think I follow it a lot in practice, just naturally...

But when I usually program I'm kinda of in between... I don't automatically default to it.

Particularly, I don't always create interfaces, at least not in the first pass unless I know or expect many different implementations of a certain component... Or just because I need some class that does X but haven't quite thought of the implementation.

But I have never created an interface with like only 1 property or method... Kinda feel that's overkill...

I tend to follow DRY more I guess...

What's everyone thoughts on this stuff?

Comments
Add Comment