You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- What does "orthogonal design" mean here? Wouldn't that just be polymorphism/strategy patterns again?Bergi– Bergi2023-03-30 12:54:54 +00:00Commented Mar 30, 2023 at 12:54
- Don't forget that OO was conceived as a solution to improve maintainability of ever larger programs. That's why we keep types and operations on them together. I find myself programming poor man's OO even in non-OO plain old C: Yes, I want only initialized objects; yes, I want strong types (feet are not meters; I have different structs containing just one double each!); yes, I have tables with operations if necessary, emulating classes or even polymorphism. You can program a macro assembler, but you don't have to.Peter - Reinstate Monica– Peter - Reinstate Monica2023-03-30 14:17:22 +00:00Commented Mar 30, 2023 at 14:17
- @Peter-ReinstateMonica that sounds like C++, with extra steps /sbracco23– bracco232023-03-30 14:19:02 +00:00Commented Mar 30, 2023 at 14:19
- @bracco23 Yes, of course! The gist of my comment was that I find myself employing the same techniques to cope with complexity in C that were incorporated in C++, for the same reasons.Peter - Reinstate Monica– Peter - Reinstate Monica2023-03-30 15:19:10 +00:00Commented Mar 30, 2023 at 15:19
- @Peter-ReinstateMonica: OOP was advertised as a solution to improve maintainability of ever larger programs, but only partially fulfilled that promise. Of course, OOP means can indeed help to achieve this goal to some degree, but not automatically. You don't create a single-source-of-truth design just by using OOP means, you also have to use them well. Often, such design has nothing to do with OOP - it can actually start at the requirements level, by giving a user orthogonal configuration options, for example.Doc Brown– Doc Brown2023-03-30 18:05:56 +00:00Commented Mar 30, 2023 at 18:05
| Show 2 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you