» Currently browsing: Bits and bytes
Looping collections in C#
Number of Comments » 3In this post I want to demonstrate that with a few nice language features in C# we can do more with less when working with collections, meaning expressing more with less code.
There are a couple of points I want to make here. First I care about writing code that can be easily understood after it [...]
The Declarative Mindset
Number of Comments » 2I’ve been playing around with web-programming lately, and it’s interesting to see how a little declarative thinking can help improve your code.
The declarative mindset
First, let me specify my viewpoint: My interest in declarative programming is not primarily from a programming language point of view (at least not in this context). I care about it [...]
Delegates, the Interface for methods
Number of Comments » 2So, what’s with function pointers or delegates as .Net calls them? The Java-community hasn’t really been there, and the GOF-design patterns doesn’t really describe the use of them. They speak of interfaces.
Being a C# and Java developer, and thus a classical OO-guy, I haven’t really paid much attention to function pointers as a concept. [...]
Firefox extensions Part II
Number of Comments » 1See also: The lightning fast tutorial to Firefox extensions Part I.
Here’s the entire extension described in this tutorial: Sample-Xpi
This time we’re going to take our url from part I, send it to a new window, parse it slightly, and send it back to our browser. This will demonstrate creating a simple gui, and sending information [...]
The lightning fast tutorial to Firefox extensions
Number of Comments » 3A Firefox extension is a component developed by a third party (ie: you) that extends the functionality in Firefox. This tutorial will show you how to make an extension that adds a menu item when you right-click on an url in a web-page. Easy and lightning fast.
First things first: When making a Firefox extension, you use Javascipt [...]

