Blog articles tagged 'programming'

0
comment
on 1/1/2012 1:36 PM
After reading this old post by Don Syme, I really liked the idea of wrapping the result of any computation into an option type to signify success and failure cases and stop subsequent computations on the first failure. It’s neat but I wanted to tweak a co[...]
.
0
comment
on 12/29/2011 4:41 PM
In C#, you define an empty class, struct, or interface like this: So how do you define an empty type in F#? Well, whenever you define a new class in F#, the compiler infers the class and end tokens at the beginning and end of the class’s definition, as yo[...]
.
0
comment
on 12/25/2011 5:24 PM
There’re a number of built-in literal types in F#, and one of the cool things you can do is to get the byte or byte array representation of a char or string using the ‘B’ suffix, the result is the same as Encoding.ASCII.GetBytes: Pretty cool, eh?
.
0
comment
on 12/21/2011 6:46 PM
Generic type parameters were introduced in C# 2.0, and they gave us the ability to write code that works against any type that matches a set of constraints and remove the need to create type-specific overloads, e.g.: A few years passed, and dynamic types [...]
.
0
comment
on 12/11/2011 3:30 PM
Due to popular demand… well, I had a couple of requests anyway :-) Heres a post inspired by my recent encounters profiling some of the code in Fracture-IO.
.
0
comment
on 12/10/2011 2:12 PM
A little while ago I put together a quick performance test comparing the BCL’s BinaryFormatter with that of Marc Gravell’s protobuf-net library (.Net implementation of Google’s protocol buffer format). You can read more about my results here. There’s anot[...]
.
0
comment
on 11/30/2011 9:31 PM
Starting on December 5th and running for six weeks, the author of "Clojure in Action", Amit Rathore, is leading an online introduction to Clojure course for just $325. See the CodeLesson web site for more details on this Clojure course. I'm fortunate that[...]
.
0
comment
on 11/30/2011 5:10 PM
I stumbled upon this interesting question on StackOverflow today, Jon Harrop’s answer mentions a significant overhead in adding and iterating over a SortedDictionary and Map compared to using simple arrays. Thinking about it, this makes sense, the SortedD[...]
.
0
comment
on 11/18/2011 12:30 AM
Following my back-to-back talks with the UK Developers Group and NxtGenUG Southampton, I just like to say thanks those guys for having me, it’s been a great pleasure For anyone interested, here are the links to the slides and the source code I used for th[...]
.
0
comment
on 9/11/2011 9:10 AM
Problem Each character on a computer is assigned a unique code and the preferred standard is ASCII (American Standard Code for Information Interchange). For example, uppercase A = 65, asterisk (*) = 42, and lowercase k = 107. A modern encryption method is[...]
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us
Built with WebSharper