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*
-
2"...but what really makes a program interesting is how it's different from other programs." I completely agree but for that you have to first get the same part right, maybe they just differ by some trivial aspect. If you relax a bit the need to name and identify patterns I'm convinced one sees patterns almost everyhwere. It's just that they do almost never come in their pure form but are always more or less adapted to the problem at hand.NoDataDumpNoContribution– NoDataDumpNoContribution2016-11-14 11:55:16 +00:00Commented Nov 14, 2016 at 11:55
-
5Very good answer.Robert Harvey– Robert Harvey2016-11-14 16:01:47 +00:00Commented Nov 14, 2016 at 16:01
-
4@Trilarion: Oh, I realize those parts of the code have to be written. They're a little like, say, the tires on your car. You pretty much need tires to drive at all--but most people still barely know the brand of tires on their car. This is asking that they learn special terminology for a tire with asymmetric diagonal grooves. Who knows--those might have saved my life once, but I still don't spend my life learning names for them.Jerry Coffin– Jerry Coffin2016-11-14 22:04:11 +00:00Commented Nov 14, 2016 at 22:04
-
3@DavidRicherby: Okay, then let's use a "producer side" version of the analogy. Does it matter that John who designs tires for Goodyear uses one word for that type of groove, but Pierre who works for Michelin uses an entirely different word? Does it matter that one uses a word referring only to the groove, but the other a word referring to a complete tire with horizontal grooves on one side of the center and diagonal grooves on the other?Jerry Coffin– Jerry Coffin2016-11-16 14:51:22 +00:00Commented Nov 16, 2016 at 14:51
-
2@immibis: I would say mostly yes, they've failed. I'd say there are fewer than half a dozen patterns most programmers recognize. Singleton is well known, but actually only rarely applicable (at best). The name "Factory" was in common use long before "patterns" came along (I remember its use in the late 1970's or very early 1980's). Patterns were supposed to form a vocabulary, but currently they're about like my vocabulary in Greek--enough to (possibly) get myself in trouble, but certainly not enough to order off a menu, much less hold a meaningful conversation.Jerry Coffin– Jerry Coffin2018-01-10 01:17:17 +00:00Commented Jan 10, 2018 at 1:17
|
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