on 9/4/2012 12:16 AM
Boilerplate is any seemingly repetitive code that shows up again and again, like getting and setting instance variables, but seems like it ought to be much simpler. Jon Harrop recently commented on an MSDN article on Functional Programming in C++: (from Figure 8) 60 lines of "functional" C++ in 1 line of F#: type Immutable = {d: float; s: string} http://msdn.microsoft.com/en-us/magazine/… 60 lines is a lot of boilerplate! Here Jon defines a 1line record type to express a simple immutable type. C# [...]
>> Read the full article on trelford.com
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