Timeline for When to *not* use SOLID principles
Current License: CC BY-SA 4.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 14, 2023 at 22:25 | comment | added | crizzis | ...which is easier said than done. Once the code goes past a couple thousand lines, it becomes surprisingly resistant to change. My point is, whenever in doubt of whether to use SOLID or not, I would still lean towards using it. And the situation of your piece of software in a larger picture is not always so clear-cut. Your mileage may vary, of course | |
| Sep 14, 2023 at 22:16 | comment | added | Doc Brown | @crizzis: well, the trick is to refactor and make the code more SOLID as soon as it becomes apparent that a software system might live longer than a few weeks or months. | |
| Sep 14, 2023 at 22:02 | comment | added | crizzis | The problem is, in a lot of cases 'developing software under constant long-term maintenance and constant evolvement, usually over years, by a multi-person team' is not originally intended nor anticipated at all by the person who makes the initial commit... | |
| Sep 14, 2023 at 10:47 | history | edited | Doc Brown | CC BY-SA 4.0 | added 22 characters in body |
| Sep 14, 2023 at 10:40 | comment | added | jmoreno | EnterpriseFizzBuzz … | |
| Sep 14, 2023 at 9:40 | history | edited | Doc Brown | CC BY-SA 4.0 | added 4 characters in body |
| Sep 13, 2023 at 20:41 | comment | added | Doc Brown | @user253751: my wording did not express what I had in mind, of course. I reworded my first paragraph, better now? | |
| Sep 13, 2023 at 20:40 | history | edited | Doc Brown | CC BY-SA 4.0 | Wording improved |
| Sep 13, 2023 at 13:51 | comment | added | Tulains Córdova | About the last paragraph; it kinda (perhaps inadvertently) suggests SOLID creates the necessity for automated [unit] tests. I think it's the other way around. In order to be able to use automated [unit] tests, you have to apply some of the solid principles. Not every software needs that level of quality (automated [unit] testing), and many that do can't get it because the codebase, or the parts of it that beg for automated testing, don't follow at least the S, the L and the D. | |
| Sep 12, 2023 at 16:22 | history | edited | Doc Brown | CC BY-SA 4.0 | added 1 character in body |
| Sep 12, 2023 at 16:08 | history | edited | Doc Brown | CC BY-SA 4.0 | added 1 character in body |
| Sep 12, 2023 at 14:08 | history | edited | Doc Brown | CC BY-SA 4.0 | added 10 characters in body |
| Sep 12, 2023 at 14:01 | history | answered | Doc Brown | CC BY-SA 4.0 |