PVS-Studio | Posts: articles

1 min read Original article ↗

Brave new C#

Next month, another version of our beloved programming language is set to arrive. Nice reason to grab a cup of coffee and dwell on what is wrong with modern versions of C#, isn't it?

...

How far does lookup see in C++?

Aleksandra Uvarova

In C++, it's good practice to place functions next to the types they operate on. To apply this approach correctly, we need to understand how name lookup mechanisms work and spot where functions...

...

Code generation for algorithms in Java

Konstantin Volohovsky

Devs often use "magic code" to solve tree problems on LeetCode. However, enterprise code requires readability and maintainability for years. What shall we do when a task is so large that...

...

Exploring OpenAPI Generator via static analysis

Vladislav Bogdanov

Would you like to see some errors and suspicious fragments in Java code? We found lost increments, empty regular expressions, strange string sanitization, and more in an open-source project...

...