Recent CodeSOD

Code Snippet Of the Day (CodeSOD) features interesting and usually incorrect code snippets taken from actual production code in a commercial and/or open source software projects.

Dec 2026

Java Dot Cpp

by in CodeSOD on

Dmytro P works with one of those developers who clearly started life in C/C++, and has never quite adapted to languages like Java. How can I tell?

Well, functions like this are a good hint: