CodeSOD: Dating in Another Language

This post was originally published on this site

The Daily WTF

It takes a lot of time and effort to build a code base that exceeds 100kloc. Rome wasn’t built in a day; it just burned down in one.

Liza was working in a Python shop. They had a mildly successful product that ran on Linux. The sales team wanted better sales software to help them out, and instead of buying something off the shelf, they hired a C# developer to make something entirely custom.

Within a few months, that developer had produced a codebase of 320kloc I say “produced” and not “wrote” because who knows how much of it was copy/pasted, stolen from Stack Overflow, or otherwise not the developer’s own work.

You have to wonder, how do you get such a large codebase so quickly?

private String getDatum() { DateTime datum = new DateTime(); datum = DateTime.Now; return datum.ToShortDateString(); } public int getTag() { int tag; DateTime datum =

To read the full article click on the 'post' link at the top.