connor4312
Joined 12 years ago
Karma
913
Submissions
74
Member since
Dec 19
Joined 12 years ago
I maintain the vscode debugger and found both the article and your comment interesting--there's a large overlap between "programs with anti-debugger techniques" and "programs that are hard to debug."
For example, if you have a `binarySearch` function that returns -1 if an element isn't found, a developer might do something. `const result = arr[index]; if (result !== undefined) { ... }`. This would then start returning the last element instead of undefined at that index.
You might say "I'm hungry", but it's not your rational brain deducing it's time to be hungry. Is an "I'm happy" triggered from the gut any less valid?