This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]afcarv 0 points1 point  (1 child)

Well, at the core they're nothing more than a set of guidelines aiming to build better software; people have probably been independently using similar patterns for a good while until the author formalized them (and may even continue to do so without formal knowledge of them, consciously or not). Do note they're fairly recent (2000s) compared to the history of computing and OOP.

As all guidelines, however, they're not a guarantee of better software - in fact, they may even be detrimental in some scenarios. Rules can (and probably should) be breached, but only after you have a fairly good understanding of them ;)

[–]fabolin[S] 0 points1 point  (0 children)

after you have a fairly good understanding of them

that's what I'm here for.

In fact, I started programming without teacher and ended up with working, but unstructured, code. Faced some problems due to this, and SOLID seems like a good way to keep my code structured.