Instead of me fantasizing please refer to this actually simple language proposal on what and why is missing and how (very likely) lambdas will look in C++20. Modern C++ lambdas will be even better. Continue reading “Modern C++ lambdas will be even better”
This time we go to the Lambda Top Gear. Forget the templates. Use lambdas. Part 3, can actually hurt the brain. If not feeling safe or no chaperone present please leave now. Continue reading “Forget the templates. Use lambdas. Part 3”
Just improved the
print() lambda from the part one.
Allow me to analyze it for you in a bit of a detail. First the code.
In the previous post, I have presented variadic function template as an simple but effective
print() function. It is perhaps “simple” looking but it requires non trivial modern C++ knowledge to code and to understand one.
Now forget the templates. Continue reading “Forget the templates. Use lambdas. Modern C++”
Your API usability does matter indeed. It is not just some snazzy implementation behind, displayed on the GitHub to boast about. Think of your users, clients and customers. What they see first and judge your quality for, is your API design.
By using standard modern C++ one can achieve more usable API than ever before. And without any stunt programming whatsoever. Consider this. Continue reading “Your API usability does matter. Use modern C++”