Post B1otYCPQ5blRTNZ0Ge by andrewrk@mastodon.social
(DIR) More posts by andrewrk@mastodon.social
(DIR) Post #B1otY7UYN5tqDqvX4i by andrewrk@mastodon.social
2025-12-31T18:50:55Z
0 likes, 0 repeats
@mitchellh shadowing and unused variables, to name a couple issues. Plus the implicit `this`. You have to check so many things to be sure that the cut and paste does what you think it does
(DIR) Post #B1otY92cbukH1nsFoe by aachrisg@mastodon.gamedev.place
2025-12-31T20:52:31Z
0 likes, 0 repeats
@andrewrk @mitchellh The compiler will error out on unused or shadowed variables at least.
(DIR) Post #B1otY9wdFfY3pW4z7Q by HugeGameArtGD@mastodon.gamedev.place
2025-12-31T21:13:51Z
0 likes, 0 repeats
@aachrisg @andrewrk @mitchellh-Wunused-variable is a warning in C/C++
(DIR) Post #B1otYAutdbkoqQH73I by andrewrk@mastodon.social
2025-12-31T21:18:38Z
1 likes, 0 repeats
@HugeGameArtGD @aachrisg @mitchellh 🤡
(DIR) Post #B1otYCPQ5blRTNZ0Ge by andrewrk@mastodon.social
2025-12-31T19:01:13Z
0 likes, 0 repeats
@mitchellh oh yeah and I just remembered importing... which has side effects to worry about when you cut+paste between files
(DIR) Post #B1otboDRyrHpb7gbi4 by lanodan@queer.hacktivis.me
2025-12-31T21:23:46.318800Z
0 likes, 0 repeats
@andrewrk @HugeGameArtGD @aachrisg @mitchellh Well, makes sense when -DNDEBUG is passed.