Code Like Bozo

and merchant of awesome at GeekRations.com

Message Oriented Object Design and James Shore's Challenge

  • Edit
  • Delete
  • Tags
  • Autopost

James Shore posted an architectural challenge this week on his blog and personally threw his gauntlet in my face to answer the challenge using this message oriented design stuff I've been ranting and raving about. Of course when I say "threw his gauntlet in my face" I really mean he said it might be interesting to see... BUT STILL! A man can't back down from that! ;)

Read the rest of this post »

Filed under  //

  • MOOD
  • Message Oriented Object Design
  • TDD

Posted by Justin Bozonier spacer

Message Oriented Object Design and Machine Learning in Javascript

  • Edit
  • Delete
  • Tags
  • Autopost
This article will show how to use Message Oriented Object Design (not unlike Message Oriented Programming aka MOP or Actor Model) to model your user interface as an actor and handle some more complex processing while updating the user interface. Specifically, the sample code implements a simple machine learning exercise wherein you enter any character on your keyboard and the program attempts to guess what you chose (without cheating ;).
 

Read the rest of this post »

Filed under  //

  • AI
  • Algorithms
  • MOOD
  • Message Oriented Object Design

Posted by Justin Bozonier spacer

TDD-ing Concurrent Code

  • Edit
  • Delete
  • Tags
  • Autopost
A Method for Modelling Concurrency
 

I'm prepping code for Code Camp Boise and Seattle and I thought I'd share some of the simple stuff I'm writing as I'm writing it to act as an introduction of sorts to the concepts.

 
I hear a lot of people say things like "Well we made this process concurrent so now we can't test it." That just always felt wrong to me. Over the past year or two, as I've been reading about threading though I've kept this in mind. Like any concern, it's difficult to test without taking it into account if the concern isn't abstracted away from the code under test.
 

Read the rest of this post »

Filed under  //

  • MOOD
  • Message Oriented Object Design
  • TDD

Posted by Justin Bozonier spacer

gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.