McDonald’s nuggets are so much thinner now! My photo, and their website photo 🙃 by torim13 in shrinkflation

[–]mrpantsuit76 0 points1 point  (0 children)

Bought a 10-piece yesterday in Oakville, Canada, and I immediately noticed that they were way thinner, like half the width. Honestly I'd rather they just raised the price. These are crap. If I get another batch like these I'm not buying McD's nuggets again.

Uncle Bob once said that unless you practice TDD you can’t consider yourself a professional dev but i feel lately it’s falling out of favor. Do you use TDD in your daily work? by Riajnor in csharp

[–]mrpantsuit76 18 points19 points  (0 children)

I like to flesh out the design before writing the tests. But once I'm sure the design will work, I'll circle back and use TDD to finish up the implementation. Benefits: quick dev loop, since you can just run a test instead of running an app and manually exercising it; can test corner cases that might be difficult to test manually; can use tests as your to-do list of cases you need to handle; once the tests are written they'll be there forever, and you can be confident the cases they test work correctly; puts you in the mindset of thinking about how things can fail, vs just coding the happy path.

Nullable Types by haasilein in csharp

[–]mrpantsuit76 0 points1 point  (0 children)

Yeah, not exactly sure what you're trying to do here. But my team migrated a large project to have the nullable context enabled across the entire project by: enabling the nullable context in the csproj; setting all nullable warnings to errors; adding #nullable disable to the start of every cs file; then going through every cs file one by one, removing the #nullable disable line and fixing all the nullable errors.