Recent Coded Smorgasbord

Inspired by the Pop-up Potpourri, the examples presented here aren't necessarily "bad" code nor do they imply the miserable failure that we're all used to reading here. The examples are more-or-less fun snippets of code like ones that we've all written at one time or another.

Sep 2013

Comments, Errors, and Log Messages...OH MY!

by in Coded Smorgasbord on
Dave wrote, "Found this comment dated from three years ago. I sure hope that vacation ended well."
//TODO: ask terry about this when he comes back from vacation
//row["VERSION"] = (decimal)row["VERSION"] + 1;
row.AcceptChanges();
row.SetAdded();