Courageous Software
Do Our Best; Make Our Best Better; Help Others
Home Blog Categories Archives About Feed icon

Latest Posts - page 15

  • Jasmine Matchers

    Feb 3, 2015 • Randy Coulman • posted in TDD coffeescript jasmine javascript

    I have a number of rules of thumb that I use when doing TDD. One of them is to test only the essential aspects of the code I’m writing. I want to make sure that the key parts of my code work the way I want without over-constraining the rest. That way, my tests stay robust and don’t break as often when unrelated code changes.

    Read more →
  • Need Help With Pull Request

    Jan 27, 2015 • Randy Coulman • posted in rake ruby

    I’ve recently been working on a pull request for Rake and I’ve run into some problems I don’t know how to solve, so I’m asking for some help.

    Read more →
  • CoffeeScript Instance Variables

    Jan 20, 2015 • Randy Coulman • posted in coffeescript javascript

    I’m pretty new to CoffeeScript/JavaScript.

    Read more →
  • Marker Methods

    Jan 13, 2015 • Randy Coulman • posted in Smalltalk design patterns

    In my previous post, I talked about abstract methods. In that post, I mentioned that Smalltalk’s convention for abstract methods is to use ^self subclassResponsibility in the body of the abstract method.

    Read more →
  • Affordances: Abstract Methods

    Jan 6, 2015 • Randy Coulman • posted in C++ Smalltalk affordances inheritance ruby

    When building inheritance hierarchies in object-oriented languages, it is often desirable to have methods that are not implemented by the base class but only by the leaf-level classes in the hierarchy. A common case is when using the Template Method pattern.

    Read more →
  • RubyConf 2014 Video: Affordances in Programming Languages

    Dec 30, 2014 • Randy Coulman • posted in affordances conference speaking video

    A good design communicates the intended use of the object. In the physical world, this communication is accomplished by “affordances” as discussed by Donald Norman in “The Psychology of Everyday Things”.

    Read more →
  • Does Rails Define Modules For Me?

    Dec 23, 2014 • Randy Coulman • posted in rails

    Short answer: Sometimes.

    Read more →
  • Tracing the Rails Autoloader

    Dec 16, 2014 • Randy Coulman • posted in debugging rails

    The Ruby on Rails framework has a lot of magic in it that automatically takes care of tedious tasks so that the developer no longer has to worry about it.

    Read more →
  • Namespaced Classes in Rails

    Dec 9, 2014 • Randy Coulman • posted in rails ruby

    In larger Rails applications, it is common to move related models, controllers, and/or views into sub-directories. Once moved, those classes will no longer be automatically found by Rails’ autoloader. There are two solutions:

    Read more →
  • Pull Request-Driven Development

    Dec 2, 2014 • Randy Coulman • posted in process teams

    At my new job, I’m working on a project that uses some different processes than the project I was on at my last job. I’m finding the differences interesting, and have been thinking about the forces that would push a team in one direction or another.

    Read more →
« Older Posts Archives Newer Posts »
  • Courageous Software
  • Copyright © 2013 - 2026 Randy Coulman
  • Privacy Policy
  • randycoulman
  • randycoulman
  • randycoulman

Randy Coulman's blog on writing software well, and helping others to do the same.