What's taking so long? (a question every dev gets.. and even asks themselves) Ever solved a problem, just to beat yourself up on how long it took? Me too. Maybe we need to spend more time making the invisible.. visible.
Beware the bite of the refactor bug Refactoring code is part of the dev life, and can even help keep the code healthy, but going too far can do more harm than good. Ever after a decade of writing code, I still have to remind myself from time to time!
Mocking MessageBox (or any static class) in WinForms Unit testing a WinForms app is an uphill battle in the best of times, before you add in classes like MessageBox. Let's make the best of it.
Using nameof to avoid magic strings There's a lot of ways to make our code work for us. Let's check out using the nameof operator to avoid magic strings.
Why am I getting a "Please complete the security check" error? I visited a page the other day and saw something odd.. a page that said it was checking my browser. It's unpolished and unfriendly, and my first instinct was to just close the tab and forget it. Then I dropped to the bottom of the page and noticed the link to Cloudflare. Interesting.
Sunk costs, timeboxing, and asking for help One of the biggest struggles I have with programming is knowing when to ask for help. A little struggle is necessary for growth, but when am I just wasting time when I could be learning from others?
A more helpful exception box for WinForms apps If you're in a legacy codebase with a centralized "message box" form, why not add some features that make it work for you? 😏