tagged Object oriented

Brush up you code design skills

Once you decided to make extensible, reusable, more stable, maintainable codes in the future, simply read these books, and start thinking about you existing projects’ code design.
Once you decided to make extensible, reusable, more stable, maintainable codes in the future, simply read these books, and start thinking about you existing projects’ code design. Both were originally written for Java language, but patterns can be pretty easily applies for everyday Objective-C development just fine.

Objective-JavaScript

I’d like to write this kind of JavaScript code: // Display a game selector UX then return with the selected item. EPPZSelector.gameSelectorToSelectGameInView ( this.savedGames, this, function(selectedSavedGame) { this.loadGame(selectedSavedGame); } ); The logic just flows, the controller code reads like a fairy tale. No underscores, no DOM selection, no any annoying punctation but actual human readable […]

Refactoring, prefactoring, defactoring

I’m fond of Kent Beck books on refactoring issues (Refactoring: Improving the Design of Existing Code, Implementation Patterns). Reading these books makes me more critic when looking to my own code. Most of the time I can catch signs of need for factoring something into new structures. Refactoring A common tool of refactoring are the […]

Canvas layer experiment with sensor filtering methods

This is actually a HTML5 rework of a former flash prototype for inspecting signal filtering methods. The original Flash implementation is at ©ompass360° (augmented reality) 0.9.3 – filtering methods article. Later on it turned out that this is more of a HTML5 Canvas layer managing experiment. Just hit the expand button below. This comes handy […]