Uncategorized
17 July 2007 | 0 Comments
Suppose we have a functor. Let’s call it “My Functor”, because that’s a nice friendly name. I’ll call it for short. Now, a functor is—according to higher sources—something which takes any type to a type . Let’s see how we can accomplish that with our functor, using Haskell code: data MyFunctor a = Construct a [...]
Tagged in Functional programming, Haskell, Mathematics, Types
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