Category Archives: OOP

Object Pooling in .NET

TL;DR – A short and high-level explanation of object pooling technique with C# Some of you may have noticed that i’ve been away for more than a month, but that was not without a reason. I decided that after almost … Continue reading

Posted in .NET, General Software, OOP | Tagged , , , , | Leave a comment

The web is just a delivery mechanism

TL;DR – The web is just a delivery mechanism and your web browser is just another I/O device.   Disclaimer: Some people argue that this is all very nice in theory, but in practicality those ideas are not feasible. Well, … Continue reading

Posted in General Software, OOP, Software Concepts, Software Design | Tagged | 2 Comments

OOP destroyed encapsulation

TL;DR – Object oriented design did not bring encapsulation principles to software development, it broke it. Many of my friends go to job interviews for software engineering positions, and the question they are asked a lot is “what are the … Continue reading

Posted in General Software, OOP, Software Concepts, Software Design | Tagged , , , | Leave a comment

Finalizers are bad (or just dangerous)

TL;DR – Avoid Finalizers when possible! Today i want to talk about the Finalization of objects in the .NET framework. I find this subject important because one simple mistake in your Finalizer may get you in to a lot of … Continue reading

Posted in .NET, OOP | Tagged , , , , | Leave a comment

Why locking your data?

In one of my previous posts i described the motivation for using Parallel processing and how it can be misused. In this post i want to simplify the concept of locking mechanisms as one of the methods for enabling a … Continue reading

Posted in .NET, Multithreading, OOP | Tagged , , , | 2 Comments