Radu Braniste

25 articles

Strategy Pattern: A Generic Programming Perspective

A very interesting Java newsletter1 was the starting point of this article. After a swift presentation of a classic Strategy Pattern2, a TaxPayer Context...

Examples in Event Dispatching

This is the last article [1] in a series describing possible implementations of a type safe event dispatching mechanism in the context of single-layered...

Event Dispatching: One Size Doesn’t Fit All

My next two articles describe possible implementations of a type safe event dispatching mechanism, based on the Multicast pattern [1], in the context of...

The Story of a WML Generator

This article presents a flexible, compile-time safe way of generating WML and WML-like dialects code. Two contrasting solutions are discussed—one relying on C# without...

To Switch or Not to Switch

Crazy Little Thing Called Switch — An Overview The "switch" is one of the most underrated statements in C++ programming. Usually, you'll find it mentioned...

C++ Idioms in BREW: Better Interfaces

Why Static Interfaces in C++ Usually, an interface describes in an abstract way a contract having to be fulfilled by classes implementing that interface. Unfortunately,...

A Flexible, Compile Time, Configurable XML Parser

Who Needs Another Parser? XML parsing is very standard business; there are now parsers written in every possible language, for every possible platform. Very often,...

Inter-Application Communication in BREW

This time, we will discuss inter-application communication—a rather strange topic taking into account the BREW environment, where small, standalone applications prevail. Once BREW becomes...

C++ Idioms in BREW, Part 2

Introduction This installment is entirely dedicated to a central BREW design pattern; I've called it "Beware of the Watchdog." Maybe this is the most significant...

Discovering C++ Idioms in BREW

The following is a non-exhaustive list of recurring idioms in BREW, considered mainly from a C++ perspective. This is by no means a new...

Make sure to follow Developer.com on Social Media