Category Archives: AntiPatterns

Event Aggregator And/Or/vs Mediator: A Tale Of Two Patterns

Design patterns often differ only in semantics and intent. That is, the language used to describe the pattern is what sets it apart, more than an implementation of that specific pattern. It often comes down to squares vs rectangles vs … Continue reading 

Also posted in Backbone, Design Patterns, Javascript, JQuery, Principles and Patterns, Workflow | 12 Comments

Tips On Submitting A Conference Session

In the last 3 or so years, I’ve had every conference submission I’ve entered, rejected. Now that doesn’t mean I haven’t spoken at any conferences – I’ve been invited to a handful and have had a ton of fun at … Continue reading 

Also posted in Community, Education, Retrospectives | 10 Comments

On Testing “Trivial Code”

I can’t resist jumping on the band-wagon and telling people that they’re wrong, so here goes… :D Mark “Ploeh” Seemann wrote a post on testing trivial code. There have been several responses saying he’s wrong and that you shouldn’t test … Continue reading 

Also posted in Principles and Patterns, Quality, Test Automation, Testing, Unit Testing | Leave a comment

Method Rewriting: Running With A Lit Stick Of Dynamite

I had a problem I wanted to solve. I thought to myself, “I know! I’ll use function rewriting!” and it was good… I solved the problem. But I also introduced some other problems regarding method references and event handlers.  Method … Continue reading 

Also posted in Backbone, Javascript, Principles and Patterns | 7 Comments

You Are Not Paid To Write Software

I saw the phrase “I’m paid to write software, not tests” recently, and it drove me up the wall crazy. I hate this phrase and all of the misleading, misinformation that it spews. This phrase is not only false, it’s fallacy. … Continue reading 

Also posted in Business, Philosophy of Software, Pragmatism | 22 Comments

Dear Open Source Project Leader: Quit Being A Jerk

I do my best to support the people that use my open source projects. I don’t always do things right, I don’t always respond in a timely manner. Sometimes I just have to walk away from an issue or request … Continue reading 

Also posted in Community | 47 Comments

Abstraction: The Rule Of Three

I often hear people say something like “if you need it once, build it. If you need it twice, abstract it.” People often say then in the context of the “DRY” – or Don’t Repeat Yourself – principle. In theory … Continue reading 

Also posted in Javascript, Pragmatism, Principles and Patterns, Risk Management | 13 Comments

Anders Hejlsberg Is Right: You Cannot Maintain Large Programs In JavaScript

There’s a quote over on a Channel 9 video of Anders Hejlsberg: Erik Meijer: Are you saying you cannot write large programs in JavaScript? Anders Hejlsberg: No, you can write large programs in JavaScript. You just can’t maintain them. With … Continue reading 

Also posted in Composite Apps, CQRS, Craftsmanship, Javascript, Philosophy of Software, Pragmatism, Principles and Patterns, Risk Management | 29 Comments

Modeling Explicit Workflow With Code, In JavaScript And Backbone Apps

A long time ago, in what seems to be a previous life at this point, I wrote a small blog post about modeling and creating an explicit return value from a dialog form in a Windows application. Fast forward a … Continue reading 

Also posted in Backbone, Javascript, Principles and Patterns, Workflow | 14 Comments

JavaScript File & Folder Structures: Just Pick One

Rails wants you to put specific files in specific folder structures, based on the object type that will be in the file. Java demands that files in a folder structure are namespaced by that folder structure. VisualStudio also makes it … Continue reading 

Also posted in Backbone, Javascript, Model-View-Controller | 7 Comments