Blog

About security

Security protects the system against threats such as unauthorized access and modification. Therefore, it must answer the following questions: who is the user accessing the system, what can he/she do with it and, finally, what has he/she done with it?

Read more

Cloning

Framework Design Guidelines advise against implementing ICloneable or even using it in public APIs mostly because this interface does not specify whether the copy is deep or shallow. Can we do better?

Read more

Abstract to document...

I found a somewhat verbose code in a sample. I do not know what worries me the most: that someone thought it was easier to write this many lines of inefficient code or the fact that may be it was not simple enough to find the method in the documentation.

Read more

Iterators

The purpose of the iterator is to provide a mean to sequentially access items of a collection, without exposing the internal structure of the collection.

Read more