Today, I propose the 3 following articles to start your day.
if (x = 42)
This article from PVS-Studio talks about the error of assigning a variable instead of comparing it to a value.
It can easily happen, with a small typo, and be difficult to detect, as everything still compiles.
Even though, in years of analysis of open source project, PVS-Studio team founds out that this is an error occuring very rarely.
A very « mind-boggling information » !
Codestral
If you have been connected to the internet in the past 2 years, then you have probably hear about LLM, ChatGPT, and maybe Mistral AI.
The company from that last one released a new model designed to help developers, named Codestral.
In that regard, it seems to be more like Github’s Copilot.
You can for example integrate Codestral into you Visual Studio Code, in order to benefit from it directly in your projects
API Design 101
This great article, by Kelvin Mburu, talks about some best practices when you want to build an API.
His article is really clearly the basic knowledge you should have before diving int the journey of API development and maintainance.
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. 😀