If you were to receive this code in review, would you accept it? typedef struct { const char* message; } FirstError; typedef struct { const char* message; } SecondError; static FirstError firstError = {0}; static SecondError secondError = {0}
Let’s make a very simple tutorial on how to use Zig for cypress STM32 boards. You’ll be surprised how easy it is. Making a Zig library usable in PSoC CreatorLet’s
Here’s a quick trick. It’s extremely easy to cache a function’s output in python. Let’s say you have this heavy computation task in your python code. Or something that
If you remember the previous article C11 tying data to enums, you might know that I enjoy safety at compile time if I don’t have to compromise with exposing implementation to the
Let’s say you’re making a C library that deals with fruits.Fruits have many "attributes" that could be tied to them.They could have a size, a color, and a weight,