Vent: My nephew's "working" calculator app, and the one line every new coder skips
My nephew asked me to look at his first real project last month, a little calculator he built after two weeks of a free online course, and I swear I spent 40 minutes on it. Here's the thing I keep seeing with new folks: they write the part that shows the answer on the screen and never once check what the numbers actually are. His plus button gave him 2 + 2 = 22 for days and he thought the button was broken, not the code. I know this because I did the exact same thing back in 2019 when I tried to learn Python in my garage after hours, and I quit for three months because of one missing set of brackets. The screen lying to you is normal. What matters is printing the raw values somewhere so you can see them, even if it's just a dumb line that dumps text at the bottom of the page. Once my nephew added one of those, he found the bug in about 90 seconds and looked at me like I was some kind of wizard, which I am definitely not. What's the first thing you check when the output looks right but the math is wrong?