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;








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?










share|improve this question
























  • 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

















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?










share|improve this question
























  • 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













0












0








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?










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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

















  • 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












1 Answer
1






active

oldest

votes


















2














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






share|improve this answer

























  • Thank you for clarifying this. :)

    – 57913
    Mar 27 at 8:28











  • I'm glad it helped :)

    – MSH
    Mar 27 at 9:10










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
);



);













draft saved

draft discarded


















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









2














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






share|improve this answer

























  • Thank you for clarifying this. :)

    – 57913
    Mar 27 at 8:28











  • I'm glad it helped :)

    – MSH
    Mar 27 at 9:10















2














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






share|improve this answer

























  • Thank you for clarifying this. :)

    – 57913
    Mar 27 at 8:28











  • I'm glad it helped :)

    – MSH
    Mar 27 at 9:10













2












2








2







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






share|improve this answer













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







share|improve this answer












share|improve this answer



share|improve this answer










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

















  • 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








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.



















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript