C++ quirks

C++ Standard Attributes

Back in 2011, C++ got new features. One of them is attributes. This feature lets the software developer the option to provide the compiler some additional information regarding the code, so it would compile/optimize the code in a specific way. In this post, I'll elaborate on some of the available standard attributes in C++, when… Continue reading C++ Standard Attributes

Python quirks · Side projects

Is It Or Isn’t It?

The other day I wanted to check if a variable is not equal to a singleton (like None for example). In Python, when we compare singletons we would prefer to use is instead of == since the is keyword compares the addresses of the variables, while == compares the values. It's not a complicated task,… Continue reading Is It Or Isn’t It?