skip to main content
10.1145/1297846.1297965acmconferencesArticle/Chapter ViewAbstractPublication PagessplashConference Proceedingsconference-collections
Article

So we thought we knew money

Published: 20 October 2007 Publication History

Abstract

In Custom House's financial system, money, rate, currency and markup are among the key concepts to describe the domain. Without explicit modeling, those concepts appear in the code, but only in variable names of primitive types and sometime in method names for operations whose arguments and return types are all primitives.
In this paper we present the experience gained when Custom House development team applies Domain-Driven Design to explicitly model fundamental domain concepts and abstract them into value objects. Using code snippets, we show how those concepts are discovered, how we refactor the existing code base to apply the value objects, what difference the value objects make and how they evolve over time.
We also report the pitfalls and stumbles during the process, which are not uncommon for projects that undergo ongoing development work. We show that, with all the incompleteness and imperfection, Domain-Driven Design is gradually accepted into real development process, making a continuous and crucial transformation.

Reference

[1]
Eric Evans. Domain-Driven Design, Tackling Complexity in the Heart of Software. Addison-Wesley (2003).

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
OOPSLA '07: Companion to the 22nd ACM SIGPLAN conference on Object-oriented programming systems and applications companion
October 2007
241 pages
ISBN:9781595938657
DOI:10.1145/1297846
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 20 October 2007

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. domain-driven design
  2. value object

Qualifiers

  • Article

Conference

OOPSLA07
Sponsor:

Upcoming Conference

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 195
    Total Downloads
  • Downloads (Last 12 months)2
  • Downloads (Last 6 weeks)0
Reflects downloads up to 06 Jan 2025

Other Metrics

Citations

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media