Sunday, March 6, 2011

A change in plans

Dash and Tugg had been wandering in Andor's forest of GPL licensed code for weeks. They had been mired in side quests such as restructuring configuration formats and figuring out how to insert a separation of concerns into the haunted wood. The nights were dark and silent, the days were dreary, still the duo traveled on.

Slowly, Dash and Tugg had come to a shared realization: "We should just rewrite the whole thing."

With an abrupt change in direction, the adventurers set out to build a new app, focusing on activities as a good starting point. Dash had already been making progress with the main map-based activity. Tugg gripped his axe and marked the inventory activity with a primal growl.

A forest fairy named Charlotte had been following the adventurers and called out that the new project should be called cookie. And that's what they called it.

Is the "or" exclusive (200 xp)

Dash and Tugg were configuring a custom quest using the existing configuration format strictly for the purpose of familiarizing themselves with the specifics of the needlessly complex, prohibitively non-layered, and arguably broken application design. While examining the configuration they discovered an "or" semantic.

Tugg pointed out that the operation written first in the phrase might cause the execution to return before their operation, placed second in the phrase, could be executed. Using his agility, Dash moved it to be first in response.

The logic pitfall was deftly avoided by both, the party has been awarded 200 xp.