Progress

Currently I’m enhancing a tiny web application I wrote a year ago. Looking at the code, I must definitely admit that I learned quite a few things this year. It’s functional, but extremly ugly written. Then again… it’s a web app… which means it’s sort of messy just by nature. Or maybe I’m just a typical desktop application developer. Never mind.  

Enterprise Library

If there’s once in a while a helpful, easy-to-use, working piece of code – especially coming from Microsoft – you should honour it. Used the Logging Application Block of the Enterprise Library.

It took me a while to get through the documentation and the samples. Especially since I’m not using any app.config, but have to configure the logging functionality in code, but with the help of David I got the stuff up and running in no time.

And it just … sort of magically … works 🙂

The Illusion of Modular Programming

Currently I happen to reuse code I wrote in one project for another. The idea of my project manager would be that we stick to the same code base, but the requirements are only at the core the same. The blabla around is quite different as well as the range of desired functionality. What makes it especially tricky is that my code has to interact with – in both cases – quite old third party software. Meaning that my code has to follow some old style rules which honestly bug me.

Anyway. The plan is now to separate the core from the blabla, so I can reuse the core for both projects and put project specific blabla around. Our senior developer told me this morning that I would be the first one in the firm to be able to use the same core for two projects. Which is funny, because our senior programmers (3 all in all, but one being sort of a programmer eremit) build almost unbearable constructs to separate their code into different layers and modular components, but usually never need it.

Soap

Our office is a construction site. Today is obviously drill day, and I fear it will be for the next month. So far my iPod managed to sort of drown the drilling sound, but by now I’m slowly, slowly loosing my nerves. My current work should be heaven: I’m supposed to set up a communication framework using .Net Framework 3.0 and SOAP. Couldn’t it be any better? Using a new technology? Learning stuff? But with that constant noise and my current almost constant lack to concentrate (I really wonder why that is…) it’s living hell …

soap.jpg

Regular Expressions

My first contact with regular expressions was while programming perl.

I hated it, which I guess is what everybody first thinks when struggling with the strange syntax. I always had the impression that regex are as bitchy as I am sometimes 🙂

By now they are growing to my heart. You can do so much so easily when you get the point and like to give it a try.

Here a couple of examples I wrote recently (using C#):

Continue reading