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*
- 7Please. Use. Paragraphs. And. Indentation.Philip Kendall– Philip Kendall2024-07-16 12:38:15 +00:00Commented Jul 16, 2024 at 12:38
- 3The question is super interesting but also seems to have a flaw: It contains a direction of the solution, config files or multiple codebases. But in reality there are many other solutions like tenancy, configuration in data, custom modules (think SalesForce APEX), plugins (think Wordpress Plugins), etcetera. The focus on empirical evidence is important but a first overview of all options as well. A huge if else setup generally will become a mess of complexity but when you get a clear sight on which parts need to be custom implemented a lot is possible.Luc Franken– Luc Franken2024-07-17 05:40:29 +00:00Commented Jul 17, 2024 at 5:40
- "Of course, it would be much easier for the programmer to have the individual creating the configuration file enter the three numbers for RGB!" -- I strongly disagree. It would be much easier for the programmer to just write the code themselves, because then they retain full control over it. One of the most sure-fire ways to make programmers' lives hell is to remove their ability to control aspects of the system's behaviour; removing build-time checks, static code analysis, automated tests, etc. The hardest code to maintain is code which a programmer cannot control themselves.Ben Cottrell– Ben Cottrell2024-07-17 07:59:01 +00:00Commented Jul 17, 2024 at 7:59
- 1Useful related thread: What is "premature abstraction"?Ben Cottrell– Ben Cottrell2024-07-17 08:11:53 +00:00Commented Jul 17, 2024 at 8:11
- The formality of asking for empirical evidence contrast with a question that (a) asks if copy/pasting long chains of ifs is justifiable, which is trivially answerable by plenty of development guidelines, (b) blindly assumes that the two presented options are the only possible choices and (c) seems to fail to understand that the field of software engineering is not driven by peer-reviewed control studies as codebases are predominantly a privately owned copyright, where the issue is not with algorithmic perfection but one of finding the approach that best mirrors the workplace's structure.Flater– Flater2024-07-18 04:53:00 +00:00Commented Jul 18, 2024 at 4:53
| Show 11 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