Design principles that you should not forget on software design
1. The Single Responsibility Principle\ The Open Closed Principle\ The Liskov Substitution Principle\ The Interface Segregation Principle\ The Depen...
1. The Single Responsibility Principle\ The Open Closed Principle\ The Liskov Substitution Principle\ The Interface Segregation Principle\ The Depen...
C++11 introduced a new way to cast shared_ptr as shown below.
The following article is showing a nice example how C++11 can support coroutine feature. C# has already supported this feature from C# 2.0.
The following algorithm will make your code clean and faster\ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1. std::all_of bool res = std::all_of(std::begin(cont...
Main bottle neck of modern CPU(shared memory architecture) is always related to accessing memory because memory is the slowest part in modern computer archit...