Uncategorized
25 May 2007 | 0 Comments
Why is this such an insidious error in Java? (An opinion piece!) A Comparison Firstly, I’ll show a short comparison between some Java code and some code from a language that doesn’t have NullPointerExceptions, but does have something that allows you to accomplish anything you might want to do with null pointers. This Java code: [...]
Tagged in Broken, C#, Critique, Development, Haskell, Java, Programming, Thought, Types
Uncategorized
13 February 2007 | 6 Comments
Why? I was bored, and it didn’t seem to have been done before, so here’s some Future action in C#. The Code using System; using System.IO; using System.Reflection; using System.Threading; public class Future<T> { public delegate R FutureDelegate<R>(); public Future (FutureDelegate<T> del) { Del = del; Result = del.BeginInvoke(null,null); } private FutureDelegate<T> Del; private [...]
Tagged in C#, Cool, Development, Mono, Reference
Uncategorized
19 September 2006 | 3 Comments
After reading a post about colour schemes and font choices for use in an IDE, it seems I’m one of the only people on the planet that uses non-monospace fonts for coding. So, in the spirit of equal access, I’ve decided to try a couple of different fonts in MonoDevelop. While it doesn’t have the [...]
Tagged in C#, Development, Mono, Review
Uncategorized
16 September 2006 | 0 Comments
It dates from 2003, but this is still the best explanation of thread synchronization using Monitors that I’ve read.
Tagged in C#, Reference, Review