$ cat post/late-night-coding-binges.md
Late Night Coding Binges
It’s been a tough week at school, but I’ve been hitting the books hard. The finals are next month, so I’ve had to stay up late studying. But tonight, something different pulled me into my room after dinner—coding.
I’ve been exploring some new Python projects online. There’s this site where you can see other people’s code and even challenge yourself with coding puzzles. It feels like a game, but the problem is, once I start, it’s hard to stop.
Right now, I’m working on one that involves creating a simple calculator. The instructions are straightforward: take user input, perform basic arithmetic operations, and give output. But as usual, my mind keeps wandering off to make this calculator more complex than necessary.
I’ve added a feature where the calculator can also tell you if your number is even or odd. And because I’m feeling adventurous, I thought it would be neat if the program could check if a number was prime too. Now, I’m stuck trying to write a function that can do both—check for primality and determine evenness.
I laugh at myself sometimes; why bother with such complexity? But there’s something oddly satisfying about solving problems like this. It’s not just about passing tests or assignments—I’m genuinely enjoying the process.
Tonight, though, it feels too late to keep going. My eyes are starting to feel heavy, and I can hear my mom gently shutting doors upstairs. Maybe it’s time for a break before bed. I’ll save where I left off—maybe tomorrow, when I have more energy, I’ll figure out that tricky function.
For now, though, I need to make some tea and maybe read a bit about programming concepts instead of coding. It’s not exactly the same satisfaction, but it might be enough to keep my mind occupied until morning.