100 Days of Code: Day 59
100 Days of Code, Round 1
One project down; four more to go.
I only planned to try to complete just that one project today, but because I did it so quickly, I decided to continue on to the next project. This is where I hit a bit of a snag.
The funky code blues 🎷
I keep running the test because it should, by all logic, work properly. However, every time I run it, it comes up with one or more numbers failing to convert properly.
Here’s the kicker — I re-run the code and it works perfectly for some (but not all) of those results, and different ones fail. Yet I haven’t changed a single line of code.
This leads me to believe that either:
- There is a bug
- The more likely option — my code is poop.
It wouldn’t surprise me at all if I have done something wrong and there is some sort of trickery in my existing code that causes it to pass sometimes and fail at other times for no apparent reason.
Honestly, I’ve never seen this before. It may take me some time to figure out what in the world is going on.
So, it looks like that’s where I’ll be spending my time tomorrow. Wish me luck!