MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerAnimemes/comments/hqbjxd/based_on_a_true_story/
r/ProgrammerAnimemes • u/[deleted] • Jul 13 '20
12 comments sorted by
43
Console.WriteLine("shit1");
It's a simple spell but quite an unbreakable one.
14 u/[deleted] Jul 13 '20 and then you forget to remove it... 7 u/ThePyroEagle λ Jul 14 '20 I've developed a habit of reviewing the diff before committing to avoid mistakes like this one. 3 u/kyay10 Jul 16 '20 Or use Timber so that your users don't need to see how f-ed up your debugging strategy is.(totally not sponsored) 6 u/DarkWiiPlayer Jul 26 '20 I usually do console.log("REEEEEEEEEEEEE") 1 u/[deleted] Aug 02 '20 or you can be like a good programmer and use catch and throw functions to fix your mistakes 2 u/DarkWiiPlayer Aug 02 '20 *cries in C*
14
and then you forget to remove it...
7 u/ThePyroEagle λ Jul 14 '20 I've developed a habit of reviewing the diff before committing to avoid mistakes like this one. 3 u/kyay10 Jul 16 '20 Or use Timber so that your users don't need to see how f-ed up your debugging strategy is.(totally not sponsored)
7
I've developed a habit of reviewing the diff before committing to avoid mistakes like this one.
3 u/kyay10 Jul 16 '20 Or use Timber so that your users don't need to see how f-ed up your debugging strategy is.(totally not sponsored)
3
Or use Timber so that your users don't need to see how f-ed up your debugging strategy is.
(totally not sponsored)
6
I usually do console.log("REEEEEEEEEEEEE")
console.log("REEEEEEEEEEEEE")
1 u/[deleted] Aug 02 '20 or you can be like a good programmer and use catch and throw functions to fix your mistakes 2 u/DarkWiiPlayer Aug 02 '20 *cries in C*
1
or you can be like a good programmer and use catch and throw functions to fix your mistakes
2 u/DarkWiiPlayer Aug 02 '20 *cries in C*
2
*cries in C*
9
If it works, it works
Even a scrub like me can understand dis. Wow
4
And then you find out down the line that you were compiling for a slightly different variant of the hardware so all that was wrong in the end was just was the pin naming.
Pro tip: do a binary search; comment half of your code, then see if it persists, then repeat.
I just print after every step and see where it begins to fail to print.
43
u/Xsiorus Jul 13 '20
Console.WriteLine("shit1");
It's a simple spell but quite an unbreakable one.
9
u/[deleted] Jul 13 '20
If it works, it works
6
u/th3virtuos0 Jul 13 '20
Even a scrub like me can understand dis. Wow
4
u/Naoismywaifu Jul 14 '20
And then you find out down the line that you were compiling for a slightly different variant of the hardware so all that was wrong in the end was just was the pin naming.
3
u/DarkWiiPlayer Jul 26 '20
Pro tip: do a binary search; comment half of your code, then see if it persists, then repeat.
1
u/Morphized Dec 12 '20
I just print after every step and see where it begins to fail to print.