Friday, June 5, 2015

Interesting Talk: "Eliminate JavaScript Code Smells"

I've just watched this very interesting talk by Elijah Manor: This is the short version of the talk, in which he talks about half the code smells that appear in the long version.

It seems that the long version of the talk hasn't been recorded yet (or so it says here).

In any case, these are the slides of the long version talk,

Wednesday, June 3, 2015

Monday, June 1, 2015

Interesting Paper: "Mock Roles, not Objects"

I've just read this very interesting paper by Steve Freeman, Nat Pryce, Tim Mackinnon and Joe Walnes about mock objects as a design technique for identifying types in a system based on the roles the objects play: They talk about the importance of RDD, the Law of Demeter and Tell Don't Ask in this technique and how it can lead to an OO style based in composition rather than inheritance, encouraging designs with good separation of concerns and modularity.

It also gives many heuristics to help drive your design using mock objects and fights against some typical misconceptions surrounding mock objects.

Interesting Podcast: "Hexagonal Rails with Matt Wynne and Kevin Rutherford"

I've just listened this great Ruby Rogues podcast with Matt Wynne and Kevin Rutherford: