← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 46
  1. Templates and metaprogramming considered as the big bad wolf of C++, and it’s time to stop being scared of this wolf, as it’s one of the most powerful creatures of C++.

  2. Reverse Iterations

    Sometimes, we all need a way to iterate over a container in the opposite direction.

  3. Back in the day, being a witch was considered a grave crime.

  4. We all know that every ‘,’ matters in this language, so I decided to talk directly about that character today.

  5. Daisy Hollman is an extremely talented developer, who is highly involved in many advanced fields of C++.

  6. From Modern to Unbelievably Modern C++ CoreC++ talk is now available online.

  7. LConst PConst

    The const keyword is widely used within almost every C++ program.

  8. Two weeks ago I was giving a talk alongside a good friend of mine Daisy Hollman at the Israel CoreC++ conference.

  9. Fold expressions exist in C++ since C++17 and significantly affect how we treat variadic templates.

  10. The View of The String

    Communication is a powerful tool of the humanity.

  11. explicit(To Be || !(To Be))

    If William Shakespeare would have been a C++ developer, this would probably was the title that the explicit(bool) proposal have got.

  12. You can now discuss about new articles, offer ideas for the next posts, and get updates about the blog on our new Discord server and Telegram channel.

  13. Previous week I published the riddle “The Shared View”.

  14. Riddle – The Shared View

    This week I decided to write a riddle, which is consisted of some chosen articles from this blog (and one topic that I didn’t write about yet – std::string_view).

  15. It’s been a long dark (mode) night.

  16. Last time we visited the shared island, and that leaves us with only two more islands to visit, but lucky us they are not that far from here.

  17. With amazing tools come greate abilities.

  18. Mother ASM to her young C(hild): "Write a good code today, and don't forget to release the memory before you come back from school!"

  19. One of the most desired Design Patterns is reflection- The ability to use classes metadata (Names, functions, properties, etc…) at runtime.

  20. In the previous article we saw a way to implement the Factory design pattern in C++.

  21. Design Patterns were always different in C++, and a usual use of these patterns in C++ might cause more complications and problems in this language.

  22. Conditions are the most natural way to control your code flow in programming, it’s almost the first thing that every programmer learn at the beginning.

  23. On previous articles we saw how to create constexpr functions which can evaluate on compile time, and how to communicate with the compiler using pragma directive.

  24. In previous articles we saw some compilers secrets like lambda expressions and tag dispatching in iterators.

  25. C++ Illusions: Random

    One of the first mistakes that every developer does is to believe in the theoretical idea that behind “Random”.

  26. Power Range(r)s – C++20

    The new feature C++20 provided us is partially here and can help us with our primary mission as C++ developers: Maintain the code and protect it from strangers!

  27. Recently I got a chance to contribute a small change for the GCC compiler.

  28. How many times you find yourself writing hard-coded numbers inside your code, while trying to make sure as much as you can to make these numbers’ units visible?

  29. So you know that iterators can make your code more maintainable and to save you a lot of time.

  30. Iterators can make your code maintainable and generic, but they also require an additional attention when used in a dynamic collection.

  31. The old style of iterations known in many languages might be hard to maintain sometimes and won’t always do the same operation with the same efficiency.

  32. One of the greatest compile-time modifications in C++ is the modifications which make Lambda Expressions what they are.

  33. Every language has her own scary syntax, and lambda expressions got C++ one step forward at this category.

  34. When designing an architecture you might come across a need to create a collection of a template class.

  35. Substitution is part of the instantiation process, which responsible for the replacement of the template parameters with the deduced types.

  36. Become a Compile-Time Coder

    There is a difference between creating different structures for different types, and applying algorithms at compile-time.

  37. After we proved that without restrictions a generic solution can be the reason for our architecture destruction, now it’s time to talk about variadic templates restrictions from C++11 to C++20.

  38. One of the basic rules of programming, is to code a single solution that will solve many problems.

  39. C++ standard keep drawing attention to the metaprogramming abilities, syntax, and features.

  40. One of the great abilities of metaprogramming in C++ is variadic templates.

  41. Welcome to the fourth article in our C++ meta-programming series.

  42. This article relates to the meta-programming series, but a bit external, and I consider it as a bonus article for beginners.

  43. This is the third article in the series of meta programming tutorials.

  44. This is the second article in the series of meta programming tutorials.

  45. C++ Meta Programming: Why?

    As the time goes by, C++ meta programming features keep increase and improve.

  46. You got an idea, know some languages, have some techniques, so what are you waiting for?!