» Currently browsing: Bits and bytes
Boo AstAttributes explained
Number of Comments » 6Writing extensions for Boo is a very powerful thing. In this post I’m going to explain how to write AstAttributes in Boo. These attributes are much more than normal .net attributes. They are one of the ways you can extend the Boo language.
Before you read on, these posts might be useful to read:
Boo Getting Started
Boo [...]
Boo: Getting started
Number of Comments » 3Want to look into Boo? Let me give you a quick guide to getting the tools you need.
Development environment
For the time being I recommend you do your coding in Sharpdevelop. Download and install the latest here. You should also download the latest Boo-distro (the binaries), and move (and overwrite) the Boo-files into The sharpdevelop [...]
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 » 3So, 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 [...]

