Fun with Java. I developed with Java for years and love it. I hate languages providing foot-guns. Java has few, though it has. One is string comparison with '=='
If you read
if(itemName == "chocolate") {...}
it is WRONG!!11!, either factually or because an idiot thinks he knows what he is doing. It has to be "chocolate".equals(itemName).
But recently I used more Python and TypeScript, so today I wrote '==' already twice in Java code.😩