LINQ — choosing between Concat() and Union()

In Linq To Objects, there are two ways you can join two sequences togeth­er, using either Con­cat() or Union(), and as I was won­der­ing how the two dif­fers I came across this post: http://weblogs.asp.net/fbouma/archive/2009/03/04/choose-concat-over-union-if-possible.aspx The main thing to take away from this arti­cle is: “If you care about the dupli­cates, Union() is nec­es­sary. How­ev­er, in …

LINQ — choos­ing between Con­cat() and Union()Read More »

Learning F# – Part 4

Dis­claimer: I do not claim cred­it for the code exam­ples and much of the con­tents here, these are most­ly extracts from the book by Chris Smith, Pro­gram­ming F#: A com­pre­hen­sive guide for writ­ing sim­ple code to solve com­plex prob­lems. In fact, if you’re think­ing of learn­ing F# and like what you read here, you should …

Learn­ing F# – Part 4Read More »

Learning F# – Part 3

Dis­claimer: I do not claim cred­it for the code exam­ples and much of the con­tents here, these are most­ly extracts from the book by Chris Smith, Pro­gram­ming F#: A com­pre­hen­sive guide for writ­ing sim­ple code to solve com­plex prob­lems. In fact, if you’re think­ing of learn­ing F# and like what you read here, you should …

Learn­ing F# – Part 3Read More »

Learning F# – Part 2

Dis­claimer: I do not claim cred­it for the code exam­ples and much of the con­tents here, these are most­ly extracts from the book by Chris Smith, Pro­gram­ming F#: A com­pre­hen­sive guide for writ­ing sim­ple code to solve com­plex prob­lems. In fact, if you’re think­ing of learn­ing F# and like what you read here, you should buy …

Learn­ing F# – Part 2Read More »

Buzzword Buster — AOP

Def­i­n­i­tion: Aspect Orient­ed Program­ming (AOP) is a pro­gram­ming par­a­digm where each appli­ca­tion can focus on its pri­ma­ry func­tions and core con­cerns by encour­ag­ing greater mod­u­lar­i­ty and increas­ing sep­a­ra­tion of cross-cut­t­ing con­cerns (such as log­ging and authen­ti­ca­tion). Pur­pose: In any real-world appli­ca­tions, when you’re writ­ing code to address the prob­lem domain (say, book­ing an order) you …

Buzz­word Buster — AOPRead More »

Good old days!

My good friend Raj sent me some pic­tures he took from Chi­nese new year 2006, and real­ly brought back some nice mem­o­ries from the days gone by! As some of you may know, I per­formed on stage for Chi­nese new year in 2006 in Trafal­gar Square, in the mid­dle of the freez­ing cold in Feb! …

Good old days!Read More »

Imperative vs. Declarative Languages

Fol­low­ing my pre­vi­ous post on mul­ti-lan­guage (poly­glot) and mul­ti-par­a­digm (poly-par­a­digm) devel­op­ment, I thought I’d con­tin­ue on the same thread for a lit­tle and do some com­par­isons on some of the pop­u­lar types of pro­gram­ming lan­guages. Def­i­n­i­tion: An imper­a­tive pro­gram­ming lan­guage such as C# or Java allows you to spec­i­fy step-by-step how a prob­lem should be …

Imper­a­tive vs. Declar­a­tive Lan­guagesRead More »

Less is MORE

Just fin­ished watch­ing an inter­est­ing sem­i­nar video by the guys from Object Men­tor (a con­sul­tant com­pa­ny found­ed by Robert C Mar­tin, the father of agile devel­op­ment) at: http://www.infoq.com/presentations/polyglot-polyparadigm-programming The video is about an hour long and cov­ered a large num­ber of top­ics around using dif­fer­ent lan­guages (poly­glot) and dif­fer­ent pro­gram­ming par­a­digms (poly-par­a­digm) to sim­pli­fy and …

Less is MORERead More »

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close