Last week I found myself looking at two C# methods I’d written. They were nearly identical, with different names and they differed by the execution of one single predicate function at the very end to filter out exactly the kind of thing I was looking for. I found this to be pretty dissatisfying. I knowContinue reading “First Class Functions: C# and JavaScript”
Tag Archives: C#
Audit.NET
I’ve recently found it necessary to set up an audit log because I have some thrilling business requirements that demand I do so. Luckily, it appears that I’m not the first person that had to solve this problem and there was something available for my use. Even better, it looked pretty straightforward to use! However,Continue reading “Audit.NET”
Bulk Adds and Entity Framework
You ever find yourself just wishing you could fire off three, four, maybe five thousand records all at once? Or even more than that? I bet you do. I found myself in this situation recently and usually I rely on Entity Framework to accomplish my data-related needs as I am firmly entrenched in the .NETContinue reading “Bulk Adds and Entity Framework”
Why Code Is Hard To Read
If you’ve been developing for any length of time, it’s likely that you’ve run across some variation on the phrase “Code isn’t for machines to run, it’s for humans to read.” Yet, we’re often also caught discussing how code is a mess, difficult to read, hard to maintain, etc… It seems that if it wasContinue reading “Why Code Is Hard To Read”
Timer Thing, part 1
I think all of us, as developers, have written some kind of software that solves a unique personal problem. If you haven’t, you should. Sometimes the hardest part is finding a suitable problem of your own to solve. But even small problems can contain interesting design decisions. In that vein, I found my own suitableContinue reading “Timer Thing, part 1”