Helltime for September 13

Announcer: Now for quick hits and commentary on software development topics from around the web, the EIP web-ring brings you the stigmatized spawn of a refactory, MoffDub, and Helltime!

  • Now here is a post that has me thinking about my latest foray into Erlang. Gojko Adzic opines that the Actor model of concurrency is the next step in object-orientation and actually forces people to write better objects. I’m not so sure that is the case. First of all, I don’t think I would design a system where every would-be object is a process instead. Second of all, because of the first point, people will probably only inject concurrency where it is needed for better performance. Those seams in the code aren’t likely to coincide with fantastic object design.
  • Get your balance on at CodeBalance and compare five different ways to implement the Singleton pattern. It’s a good read, and a reminder to let your runtime environment handle as much of that stuff as you can. This has production defect written all over it.
  • Old-timer Alfred Thompson offers sage advice from academia: objects aren’t the right tool for everything. It is a specialization of the saying “when you have a hammer, everything begins to look like a nail”. He touches upon something I’d like to get more into, and that is integrating different, diverse languages in a single project. I’m not talking about Scala and Java, or F# with C#. Common frameworks are for wimps.
Announcer: You’re reading the EIP web-ring.
About these ads

2 Responses to “Helltime for September 13”

  1. Hi,

    thanks for the reference. I was not suggesting that every object is a process, but actors make people think about aggregates and DDD advises that aggregates should be units of consistency and aggregate communication can be asynchronous. so they offer a natural boundary for process control as well.

  2. That’s a good distinction. But is there anything inherent in the Actor model that guarantees consistency other than the extreme isolation? Seems like you face the same persistence consistency challenges regardless of the language.

    I’m interested in DDD in non-OO languages. Do you have any examples you can let me take a look at?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: