Please add open-closed-principle as a synonym of ocp. Both refer to the second of Robert Martin's SOLID principles.
-
3Should point the other way if anything, i.e., towards the more explicit name.– jscsMar 5, 2019 at 17:34
-
The convention for the other principles seems to be towards the acronym, i.e. srp, lsp.– jaco0646Mar 5, 2019 at 17:36
-
1Then that convention is wrong, and should also be changed. TMA in TLA, too much RFC.– Cody Gray ModMar 5, 2019 at 18:08
1 Answer
Okay, this is now done. Of course, I agree with Josh Caswell, that the tag synonym should point the other way, so the more descriptive tag name is the "master". Thus, it is implemented as:
where the latter has been merged with the former, and a synonym has been created.
Should be live on a Stack Overflow near you momentarily (allow for caching effects).
To pre-empt your inevitable question: this proposal got downvoted because it's an extremely low-effort tag synonym request. There's a whole process for proposing these, but it basically boils down to just doing a bit of preliminary analysis yourself and presenting a more compelling justification. In this particular case, it happens to be a good idea, and I did the legwork myself.
Looking through all the questions that were originally tagged ocp, two were not about the Open-Closed Principle in any form, shape, or fashion:
- Openshift Origin htpasswd auth not working - unable to login to web console
- Which two are true about the Inventory directory in Oracle 11G?
I have no idea why the tag was used on the first one. For the second one, they were trying to refer to the Oracle Certification Program, which should not have a tag here. I retagged both of them manually.
We should now have all of the five SOLID principles on solid ground:
I avoided creating dip and isp tags as synonyms because of the overloaded meanings of these acronyms. Please let me know if there's anything else that needs to be done here.
-
Actually, my inevitable question is, can other SOLID principle synonyms be reversed to point at the more descriptive master? Specifically, the
srp
andlsp
acronyms are currently masters. Consistency across the five principles would be nice.– jaco0646Mar 5, 2019 at 18:31 -
-
The only SOLID tag remaining would be isp-principle but there is no
interface-segregation
tag to point at.– jaco0646Mar 5, 2019 at 18:43 -
I can create tags, so that's done, too. Probably should have posted this all as one feature request. I'll update the answer with a summary.– Cody Gray ModMar 5, 2019 at 18:56