Archive for the 'books' Category

Everyday Tales: Anatomy of a Refactoring – Part 3

We finished last post with this funny situation: the abstraction that represents Facebook depends on our Domain Model.

It was a bit obvious that what we needed was not only system abstractions for Facebook, Twitter and the like but Bounded Contexts. We need to acknowledge the fact that these domains are not part of our model, […]

Everyday Tales: Anatomy of a Refactoring – Part 2

Read the first post here.
In the previous post we were facing the problem demonstrated by the diagram below.

Our FacebookMessageParser needs an instance of AllSocialNetworks so that it can create valid Users coming from Facebook. The only implementation we have for the AllSocialNetworks interface is UserRepository, and this implementation needs a FacebookMessageParser. That’s a circular dependency, […]

Coders at Work: My Review

I just finished reading Peter Seibel’s new book, Coders at Work.

I was a bit skeptical at first. I only picked the book because of the big names on the cover and because Peter Siebel’s Practical Common Lisp is one of my favourite books on learn-a-new-programming-language. I thought that a book filled only with interviews with […]

Ubiquitous Language, Tiny Types and Responsibility

As a consultant I have to log my hours in a timesheet application. This could be a test inside the timesheet app:

[TestFixture]
public class BillableTimeTest
{
[Test]
public void ShouldhaveCorrectNumberOfWorkedHours()
[…]

Real World Haskell – Book Review

I just finished reading Real World Haskell. This was my first book on Haskell, I’ve read only articles and papers before and I believe it was a very good introduction to the language.
The book tries to use real world problems and I feel like it is not very successful as it. The examples focus too […]

The Annotated Turing: Book Review

I spent the last two months flying between Melbourne and Sydney and during this time I had the chance to read Charles Petzold’s The Annotated Turing: A Guided Tour Through Alan Turing’s Historic Paper on Computability and the Turing Machine.
Charles walks you through pretty much every single paragraph in Turing’s seminal paper. The […]

Gödel and Testing

For some months now I’ve being playing around the idea of writing a testing framework for Clojure. It started as just a more extensible fork of the fact library but now I’m trying to explore some funny ideas in the testing semantics.

Although this project is progressing too slowly it already spawned some other pet […]

Programming Languages Pragmatics, 2nd Edition – A Review

Long time since my last book review. I just finished reading Programming Language Pragmatics, by Michael L. Scott.

The book describes how diverse programming languages implement diverse features and paradigms. It uses a cleat language and it is full of examples.
It starts really well with an overview of the steps executed during parsing and compilation. It […]

Internal Data Transfer Objects

One recurrent question when it comes to real world usage of Domain Models is how to integrate the Presentation and the Business Layers. As we saw here before Layers is a disciplined approach to manage dependencies among objects. The question raised is about how to integrate the two topmost Layers in the diagram below.

I have […]

Object-Oriented Design: Which, How and What

My friend Mark Needham wrote a blog post on the Domain Model pattern and Domain-Driven Design recently. He changed a bit the contents but the original question was: Should we always use Domain-Driven Design? In response, the author gave an overview of several architectural patterns for domain logic.
I pointed out in a comment that I […]




About

You are currently browsing the Fragmental.tw weblog archives for the books category.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.





Creative Commons License

This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.