Archive for the 'Software Development' Category

Is my code compiled on Mono (or Microsoft .NET)?

If you want to distinguish between your .NET program compiled on Mono and your program compiled on Microsoft Windows you can use the “__MonoCS_” pre-processor flag!

using System;
using System.IO;
public class AmIMono
{
    public static void Main()
    {
#if __MonoCS__
        Console.WriteLine("Hello Mono! ");        
#else
        Console.WriteLine("No Mono! [...]

Tuesday, December 22nd, 2009

Definition of C#

C#.NET: A hybrid of C and Java that attempted to lure defectors from the Java camp to the .NET platform. It also provides an easy transition for C++ refugees who are sick of the annoyances of manual memory management and having 9 incompatible ways to implement a simple string. (via Software++)

Saturday, October 17th, 2009

Google Wave – A Revolution done wrong!

What might E-Mail look like if it were invented by… Linus Torvalds… the OSS-Community… the XMPP-Guys… or any company without central servers within their buisness plan? To me Google Wave is not much more than an IMAP-Server with integrated CSV-Log and a nice GUI. If you remember Linux Torvalds talk on the GIT at Google [...]

Thursday, October 8th, 2009

C# and implicit conversions

Sometime you decide to create a small datastructure – let’s call it Trinary – which will mostly behave like some standard datastructure – let’s think of Boolean – but with some different behavior from time to time. TO avoid a lot of noisy changes to your codebase it might be better to define [...]

Sunday, October 4th, 2009

Architectural Principles…

Principles that seemed inviolable a few years ago are deprecated today. Principles that seem sacred today will be deprecated tomorrow. The principle of constant change is perhaps the only principle of the Internet that should survive indefinitely.
RFC1958
s/the Internet/any IT technology/

Saturday, May 2nd, 2009

OpenSSL default on Windows?!

There’s a bug in “the matrix ™”…?!?

(Note: WE did NOT install OpenSSL on our development systems… It seems to be there at default )

Monday, February 2nd, 2009

.NETzzzzz

F: Was ist ein echte Ritterschlag einer Programmiersprachen / Laufzeitumgebung?
A: Wenn Hacker anfangen ihre Toolzzzzz Analysesoftware darinzu programmieren

Wednesday, December 31st, 2008

Datatypes: To be “0″ or not to be “0″…

Argh… how much time (and money) is wasted every year by bugfixing problems caused when a variable becomes zero although there is not much sense for the variable to become zero within the actual context of the program and therefore the programmer missed to add a line for checking this unexpected behavior.
The most common example [...]

Sunday, November 23rd, 2008

The History of .NET

Slashdot posted an interessting interview with Anders Hejlsberg, Microsoft’s leader of C# development, writer of the Turbo Pascal system, and lead architect on the Delphi language. He reveals the history behind C# and what the future holds for C# 4.0.
There is also a podcast interview from May 2008 with Anders Hejlsberg by Software Engineering Radio.

Friday, October 3rd, 2008

How to Design a Good API and Why it Matters

There is a very nice but older Google Tech Talk by Joshua Bloch on “How to Design a Good API and Why it Matters” (local copy) which was also the keynote on the Library-Centric Software Design (LCSD’05). The talk is also available as video. From the conference announcements:
“Every day around the world, software developers spend [...]

Saturday, August 23rd, 2008