Archiv des Autors: oliverfunke

Crash course: Asynchronous Programming with async and await

With the .NET Framework 4.5 the new keywords “async” and “await” were introduced. These keywords will aloe an asynchronous programming which is nearly as easy as synchronous programming. With this article I want to give you a crash course into … Weiterlesen

Veröffentlicht unter .NET, C#, Crashkurs | Kommentar hinterlassen

Clean Tuples

Depending on the preferences of a developer you may sometimes find a lot of tuples within the source code. Whether this is good or bad practice is another discussion which is not part of this article. Therefore I don’t want … Weiterlesen

Veröffentlicht unter .NET, C++, Clean Code | Kommentar hinterlassen

Design patterns: Singleton

By using the Singleton design pattern you ensure that a class has only one instance. The instance operation is provided by the class itself. So it maintains its own unique instance. The .NET framework offers a very simple and thread-safe … Weiterlesen

Veröffentlicht unter .NET, C#, Design Pattern | Kommentar hinterlassen

Dealing with conflicts

In conflict situations it may often be difficult to keep the talk on a solution-oriented way. Personal emotions, different goals of the people, criticism and many other factors will influence the talk. Therefore it is helpful to have a procedure … Weiterlesen

Veröffentlicht unter Projektleitung | Kommentar hinterlassen

Design patterns: Proxy

The idea of the Proxy design pattern is to provide a substitute for another object were the substitute controls the access to the other project. So there is one real subject with a given interface, for example an object to … Weiterlesen

Veröffentlicht unter .NET, C#, Design Pattern | Kommentar hinterlassen

Write clean code instead of comments

Of course comments help to understand code. They are an essential part of the source code. But comments are an addition only. If you want to create readable and easy to understand source code, you have to focus on the … Weiterlesen

Veröffentlicht unter .NET, C#, Clean Code | Kommentar hinterlassen

Design patterns: Observer

The Observer design pattern is used when you want to define a one-to-many dependency between objects. In case one object changes its state, all its dependents are notified and updated automatically. In this design pattern you have two participants. The … Weiterlesen

Veröffentlicht unter .NET, C#, Design Pattern | 1 Kommentar