Welcome

A developers laklustre adventure in code and other misadventures

Code Metrics
1 January 2017 00:00

Code metrics are one of these things that can be fairly hard to judge, for example, we could base code on the number of lines, but this is rather a false metric. Lets explain why:

Console.WriteLine("Hello World!");

Its the basic example in many starter courses, but we could increase the number of lines of code easily, for example we could write it as:

Console.Write("H");
Console.Write("e");
Console.Write("l");
Console.Write("l");
Console.Write("o");
Console.Write(" ");
Console.Write("W");
Console.Write("o");
Console.Write("r");
Console.Write("l");
Console.Write("d");
Console.Write("!");
Console.WriteLine();