Implementing IDisposable on Types which Own an IDisposable

Implementing IDisposable on Types which Own an IDisposable
   Implementing IDisposable is a subject discussed so many times that it is highly unlikely I have anything to add that is not common knowledge. However checking the whole first page of Google results did not yield any article that mentions how to implement IDisposable on objects that own an IDisposable object. While the actual code is simple I have seen people forget to implement it or use the unnecessarily heavy Disposable pattern to implement it. But first…
Posted by:   Stilgar
23:02 14.01.2015

Happy Programmers' Day 2014

Happy Programmers' Day 2014
   Happy Programmers' Day to everyone whose job is to move bytes around or just does it for fun. Interestingly the Wikipedia article says Programmer's day is observed in Bulgaria. I wonder if this is official.
Posted by:   Stilgar
16:55 13.09.2014

TypedBezier

TypedBezier

    As a devoted follower of Anders (Hallowed be His name) I have been waiting to try TypeScript for some time. Since we could not agree to use it as the frontend language for our current application I had to try it on my own. I decided to port a small project for drawing Bézier curves I had done in Silverlight a few years ago. It seemed a good candidate since it was short (several hours of work), was a real task (if drawing Bézier curves is a real task) and provided the opportunity to explore the Canvas API, something I had been intending to do for some time.

Posted by:   Stilgar
15:42 12.08.2014

Many to Many Relationships

Many to Many Relationships
   As one gets more experience as a developer the moments when new information can totally change understanding of basic things get rarer. Last month I was in an argument with three coworkers of mine and I was stomped so hard that I was forced to rethink and change the way I do something very basic namely the way I model many to many relationships...
Posted by:   Stilgar
17:09 15.07.2014

Object-Oriented Design Interview Question

Object-Oriented Design Interview Question
   I would like to get some feedback on a programming task I use to teach object-oriented design in an intro to programming course with C#. I happen to like this task a lot but since I designed it myself I am not sure I see its flaws. In addition I sometimes get to interview developers for junior positions and I am planning to use this task as an interview question and therefore it is essential that I get more people to look at it...
Posted by:   Stilgar
16:02 03.06.2014
First Previous 1 2 3 4 5 6 7 8 9 10  ... Next Last