Today, I propose the 3 following articles to start your day.
The pros and cons of explicit software prefetching
This article, by Johnny’s Software Lab, is a great introduction to software prefetching when using C or C++.
This is a tool that is not necessary for everyone, but can be very powerful when you need to optimise for performance.
But keep in mind that nothing can replace mesuring the performance in order to validate modification for performance.
Indeed, as explained in this article, software prefetching can be great when done at the best place and time, but can be useless if done where it is not necessary.
What’s in a Name?
This article, from Google testing blog, is a great reminder of the importance of naming when developping software.
A good name can make the life of everyone encountering the piece of code, by making it clear about its purpose, while a bad one can either be unclear about what the code does or even be misleading.
I actually wrote an article on the same subject about 4 years ago: The Power Of Naming.
What is event bubbling?
A great article detailing very clearly the concept of event bubbling with some simple Javascript example.
All we need to learn this concept !
I hope you enjoyed those articles as much as your morning bevrage, and that they gave you some interesting knowledge.
Personnally, I read them while drinking my first cup of coffee of the day ☕
Have a splendid day, and see you in the next Morning Code Sip articles. 😀