Are TDD and DDD architectural patterns or design patterns?Useful design patterns for unit testing/TDD?Relational Database Design Patterns?Commonly accepted best practices around code organization in JavaScriptDoes functional programming replace GoF design patterns?Difference between static class and singleton pattern?C++ Singleton design patternExamples of GoF Design Patterns in Java's core librariesNaming Classes - How to avoid calling everything a “<WhatEver>Manager”?What's the difference between design patterns and architectural patterns?Is the MVVM Pattern an Architectural or an Design pattern?What is difference between MVC, MVP & MVVM design pattern in terms of coding c#
If someone else uploads my GPL'd code to Github without my permission, is that a copyright violation?
Is there a difference between 「目を覚ます」 and 「目覚める」
Probably terminated or laid off soon; confront or not?
Can chords be inferred from melody alone?
How do I get the =LEFT function in excel, to also take the number zero as the first number?
What can make Linux unresponsive for minutes when browsing certain websites?
Is it double speak?
Can I enter a rental property without giving notice if I'm afraid a tenant may be hurt?
Did Apollo leave poop on the moon?
Is it a bad idea to offer variants of a final exam based on the type of allowed calculators?
Colleagues speaking another language and it impacts work
How can I refer to something in a book?
Is Odin inconsistent about the powers of Mjolnir?
How to check a file was encrypted (really & correctly)
Do any languages mention the top limit of a range first?
Is a switch from R to Python worth it?
How many years before enough atoms of your body are replaced to survive the sudden disappearance of the original body’s atoms?
Responding to Plague Engineer
How would a family travel from Indiana to Texas in 1911?
Was Richard I's imprisonment by Leopold of Austria justified?
How can glass marbles naturally occur in a desert?
Cobb-Douglas production function with expenditures rather than units
Is this cheap "air conditioner" able to cool a room?
I was contacted by a private bank overseas to get my inheritance
Are TDD and DDD architectural patterns or design patterns?
Useful design patterns for unit testing/TDD?Relational Database Design Patterns?Commonly accepted best practices around code organization in JavaScriptDoes functional programming replace GoF design patterns?Difference between static class and singleton pattern?C++ Singleton design patternExamples of GoF Design Patterns in Java's core librariesNaming Classes - How to avoid calling everything a “<WhatEver>Manager”?What's the difference between design patterns and architectural patterns?Is the MVVM Pattern an Architectural or an Design pattern?What is difference between MVC, MVP & MVVM design pattern in terms of coding c#
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
There are design patterns and there are architectural patterns.
I have understood that design patterns aim at solving code complexity, like the Singleton pattern, Repository pattern is a design pattern.
Then on the other side, you have architectural patterns which is aimed at organizing and structuring code. - MVVM, MVC are examples.
However, where does TDD and DDD falls?
design-patterns architecture
add a comment |
There are design patterns and there are architectural patterns.
I have understood that design patterns aim at solving code complexity, like the Singleton pattern, Repository pattern is a design pattern.
Then on the other side, you have architectural patterns which is aimed at organizing and structuring code. - MVVM, MVC are examples.
However, where does TDD and DDD falls?
design-patterns architecture
From reading here, it seems that TDD itself can be implemented using a number of different design patterns.
– Tim Biegeleisen
Mar 27 at 5:20
TDD and DDD are not patterns. They are processes. Patterns prescribe what to do. Processes prescribe how to do it.
– jaco0646
Mar 27 at 22:50
add a comment |
There are design patterns and there are architectural patterns.
I have understood that design patterns aim at solving code complexity, like the Singleton pattern, Repository pattern is a design pattern.
Then on the other side, you have architectural patterns which is aimed at organizing and structuring code. - MVVM, MVC are examples.
However, where does TDD and DDD falls?
design-patterns architecture
There are design patterns and there are architectural patterns.
I have understood that design patterns aim at solving code complexity, like the Singleton pattern, Repository pattern is a design pattern.
Then on the other side, you have architectural patterns which is aimed at organizing and structuring code. - MVVM, MVC are examples.
However, where does TDD and DDD falls?
design-patterns architecture
design-patterns architecture
asked Mar 27 at 5:17
5791357913
738 bronze badges
738 bronze badges
From reading here, it seems that TDD itself can be implemented using a number of different design patterns.
– Tim Biegeleisen
Mar 27 at 5:20
TDD and DDD are not patterns. They are processes. Patterns prescribe what to do. Processes prescribe how to do it.
– jaco0646
Mar 27 at 22:50
add a comment |
From reading here, it seems that TDD itself can be implemented using a number of different design patterns.
– Tim Biegeleisen
Mar 27 at 5:20
TDD and DDD are not patterns. They are processes. Patterns prescribe what to do. Processes prescribe how to do it.
– jaco0646
Mar 27 at 22:50
From reading here, it seems that TDD itself can be implemented using a number of different design patterns.
– Tim Biegeleisen
Mar 27 at 5:20
From reading here, it seems that TDD itself can be implemented using a number of different design patterns.
– Tim Biegeleisen
Mar 27 at 5:20
TDD and DDD are not patterns. They are processes. Patterns prescribe what to do. Processes prescribe how to do it.
– jaco0646
Mar 27 at 22:50
TDD and DDD are not patterns. They are processes. Patterns prescribe what to do. Processes prescribe how to do it.
– jaco0646
Mar 27 at 22:50
add a comment |
1 Answer
1
active
oldest
votes
TDD
TDD is a software development practice which comes from "if it hurts, do it more often". it's neither design pattern nor architectural pattern, it's a practice to write well designed and testable code.
You can use design patterns to write a well designed tests just like the production code, you have to keep it clean and DRY if you will, because you have to maintain it.
DDD
DDD is a software development approach which tells you how manage your domain complexity. If you follow DDD approach your code and architecture will change, then you can use architectural styles like "Hexagonal architecture" or you can use design patterns or practices like factories to adapt to this approach
Thank you for clarifying this. :)
– 57913
Mar 27 at 8:28
I'm glad it helped :)
– MSH
Mar 27 at 9:10
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55370245%2fare-tdd-and-ddd-architectural-patterns-or-design-patterns%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
TDD
TDD is a software development practice which comes from "if it hurts, do it more often". it's neither design pattern nor architectural pattern, it's a practice to write well designed and testable code.
You can use design patterns to write a well designed tests just like the production code, you have to keep it clean and DRY if you will, because you have to maintain it.
DDD
DDD is a software development approach which tells you how manage your domain complexity. If you follow DDD approach your code and architecture will change, then you can use architectural styles like "Hexagonal architecture" or you can use design patterns or practices like factories to adapt to this approach
Thank you for clarifying this. :)
– 57913
Mar 27 at 8:28
I'm glad it helped :)
– MSH
Mar 27 at 9:10
add a comment |
TDD
TDD is a software development practice which comes from "if it hurts, do it more often". it's neither design pattern nor architectural pattern, it's a practice to write well designed and testable code.
You can use design patterns to write a well designed tests just like the production code, you have to keep it clean and DRY if you will, because you have to maintain it.
DDD
DDD is a software development approach which tells you how manage your domain complexity. If you follow DDD approach your code and architecture will change, then you can use architectural styles like "Hexagonal architecture" or you can use design patterns or practices like factories to adapt to this approach
Thank you for clarifying this. :)
– 57913
Mar 27 at 8:28
I'm glad it helped :)
– MSH
Mar 27 at 9:10
add a comment |
TDD
TDD is a software development practice which comes from "if it hurts, do it more often". it's neither design pattern nor architectural pattern, it's a practice to write well designed and testable code.
You can use design patterns to write a well designed tests just like the production code, you have to keep it clean and DRY if you will, because you have to maintain it.
DDD
DDD is a software development approach which tells you how manage your domain complexity. If you follow DDD approach your code and architecture will change, then you can use architectural styles like "Hexagonal architecture" or you can use design patterns or practices like factories to adapt to this approach
TDD
TDD is a software development practice which comes from "if it hurts, do it more often". it's neither design pattern nor architectural pattern, it's a practice to write well designed and testable code.
You can use design patterns to write a well designed tests just like the production code, you have to keep it clean and DRY if you will, because you have to maintain it.
DDD
DDD is a software development approach which tells you how manage your domain complexity. If you follow DDD approach your code and architecture will change, then you can use architectural styles like "Hexagonal architecture" or you can use design patterns or practices like factories to adapt to this approach
answered Mar 27 at 7:52
MSHMSH
313 bronze badges
313 bronze badges
Thank you for clarifying this. :)
– 57913
Mar 27 at 8:28
I'm glad it helped :)
– MSH
Mar 27 at 9:10
add a comment |
Thank you for clarifying this. :)
– 57913
Mar 27 at 8:28
I'm glad it helped :)
– MSH
Mar 27 at 9:10
Thank you for clarifying this. :)
– 57913
Mar 27 at 8:28
Thank you for clarifying this. :)
– 57913
Mar 27 at 8:28
I'm glad it helped :)
– MSH
Mar 27 at 9:10
I'm glad it helped :)
– MSH
Mar 27 at 9:10
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55370245%2fare-tdd-and-ddd-architectural-patterns-or-design-patterns%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
From reading here, it seems that TDD itself can be implemented using a number of different design patterns.
– Tim Biegeleisen
Mar 27 at 5:20
TDD and DDD are not patterns. They are processes. Patterns prescribe what to do. Processes prescribe how to do it.
– jaco0646
Mar 27 at 22:50