Yan Cui's blog articles

0
comment
on 1/21/2011 5:53 PM
Following on from part 3 where we basically made a little app that lets you scribble with HTML5’s canvas element, let us push on and see what else we can achieve with the canvas element. The logical next step would be to made animations, and give you a way to interact with the animation. So [...]
>> Read the full article
.
0
comment
on 1/15/2011 6:14 PM
Java vs C# As Jon Skeet pointed out in this excellent article on closures, the strategies of capturing the execution context which the behaviour is bound to different between Java and C#. C# captures the variable itself, whereas Java captures the value of the variable. To illustrate the difference, here’s Jon’s original example in C#: [...]
>> Read the full article
.
0
comment
on 1/15/2011 8:58 AM
In my last post I explained the difference between the techniques of Currying and Partial Application, following on where there let me show you how you might apply these two techniques in F#, Javascript and C#. F# Starting with F#, being a functional language it makes currying and partial application dead easy (considering that they [...]
>> Read the full article
.
0
comment
on 1/14/2011 6:15 PM
Recently I have come across some really interesting questions and debates around these two terms and how they differ from one another. There seems to be widespread confusions with many examples demonstrates one whilst intends another, and some simply uses the terms interchangeably. Whilst admittedly not being a function programming expert, I’ve spent a bit [...]
>> Read the full article
.
0
comment
on 1/10/2011 2:21 PM
I saw this in last month’s .Net magazine and thought it was pretty cool and worthwhile sharing. Without giving away too much of the intricacies (seeing as this is not my own work), this technique essentially boils down to using Javascript to append a <span> element to mask over each of the links on the [...]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper