Yan Cui's blog articles

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
.
0
comment
on 1/3/2011 4:29 PM
Following on from part 2 where I wrote a simple page with a canvas area where you can scribble, I thought I’d add a couple of new features: ability to show the image as PNG image so user can save it change the line cap change the line join change the shadow settings (colour, offset, [...]
>> Read the full article
.
0
comment
on 1/3/2011 10:25 AM
This is a neat trick I picked up the other day, you can create a dynamic class which takes in a set of properties in the constructor and dynamically generates Accessor and/or Mutation methods (you just have to choose which lines to leave out): In your calling code, you can then create a new class [...]
>> Read the full article
.
0
comment
on 1/3/2011 9:55 AM
In C# and other similar general purpose languages, there are access modifiers which allow you to specify whether a particular property can be accessed/modified by everyone (public), only subclasses (protected) or only from within the same class (private). In these languages, creating an immutable type usually involves: making all properties publicly gettable making all properties [...]
>> 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