DeepRead
Cover of Domain-Specific Languages

Domain-Specific Languages

Martin Fowler · 2010

Programming and computer science › Compilers and interpreters

#7,506 most recommended

About the book

Domain-specific languages, meaning small languages built for one problem area rather than general-purpose programming. It covers when a DSL is worth building compared with frameworks or libraries, and how to design and implement one, with examples mainly in Java, C#, and Ruby. Fowler's central claim is that a DSL is a powerful but costly tool that should be chosen deliberately, not by default. A well-designed DSL can make code clearer to domain experts and reduce complexity, but those benefits depend on careful language design and suitable tooling. He compares internal DSLs embedded in a host language with external DSLs that have their own syntax and parsers, and weighs language constructs and code generation strategies against each other, arguing that the right choice should follow from the problem at hand.

Written by Claude from what it knows of this book.

What Hacker News says 40% recommend · 0% critical

02420102015202020242010 peak · 1
This bookAverage book in Compilers and interpreters

In the commenters’ own words

  • Hey, how about throwing in a perverted, fetishistic, masochistic programming language like FORTH, too? ;) Where do you think Logo and Snap fit into the three…

    DonHopkins · 2020 · in History of Logo

  • The results from the "Compiler-Construction" are not good. You'll find better results from a search engine, Q&A site, or bookseller: Here are the top 10: #1…

    xpe · 2017 · in The most mentioned books on Stack Overflow

What Open Library readers say 2.00 from 1 rating

  1. 50
  2. 40
  3. 30
  4. 21
  5. 10
  • 7 want to read
  • 0 reading
  • 3 have read

Only 1 rating: treat the average as a hint.

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2010
ISBN
9780321712943
Editions known
2 at Open Library
Open Library
OL15909823W

Domain-specific programming languagesProgramming languages (Electronic computers)Qa76.7 .f687 2011

Explore in the mosaic

Read next: its neighbours on the mosaic