Archive for January, 2012

How to handle Flag Arguments

January 23, 2012

Martin Fowler’s Website is teaching about the do’s and don’ts of handling flag arguments

A flag argument is a kind of function argument that tells the function to carry out a different operation depending on its value. Let’s imagine we want to make booking for a concert. There are two ways to do this: regular and premium .

If you are interested in improving your coding skills read the whole article.