1. In your code should know what the edge cases, loop condition issues, etc.
I think this is fair. If you don't know the edge case failures when you write your code, you could end up with something like the Microsoft Xune that shutdown for an entire day over a leap year failure.
https://www.seattletimes.com/business/microsoft/original-mic...
Keep in mind that code review will probably not catch all bugs, it's up to the original coder to write it. This is particularly true if you're the best person on your team, say. Or you're working at a startup where no one can really review your code other than you.
On the other hand well coded unit tests should help you here.
2. It's toxic brogrammer culture there -- where leetcode scores are all that matter. In which case it's probably best you were passed over.
Perhaps, but:
> It ain’t what you don’t know that gets you into trouble. It’s what you know for sure that just ain’t so.
* https://quoteinvestigator.com/2018/11/18/know-trouble/
Sometimes you want to go to 'first principles' and reassess your assumptions. As a sysadmin I sometimes I resort to making sure the thing is actually physically plugged in (OSI Layer 1), the move up the stack with regards to how the bits flow.
It’s not that much of a stretch to say that a debugger is a level of “help” that they want to see you do without during an interview. Using a debugger is a sign that you’re not sure what your code is doing and so you need “help”… maybe the interviewer was looking to see that they could fit the exercise in their head well enough to solve the problem without a debugger.
A debugger is as much "help" to an engineer as a hammer is to a carpenter. In my experience, engineers who don't use one are a detriment to the entire engineering organization wasting time and money.
Anyway, yeah I dodged a bullet on that but it's such a pain in the ass that I went though a two month interview process only to be vetoed at the end like that. During that time I spent about two weeks to learn an esoteric API that I'll never use again. Oh and it would have been highly unlikely that I would have even used that API in the job. It was just a requirement that I learned it for this particular interview. ...and no I'm not going to commit it to memory just so I can pass a coding interview and if that was the expectation then this whole situation is even more ridiculous.
Well that's a strong opinion and probably a closed minded one.
Maybe you exposed your mindset and this is part of the reason you didn't get the job.
After all you're being judged on everything, including your attitude. Not just your technical prowess.
Using a debugger implies that you expect the code you write to have bugs. Not a mindset I'd like my coworkers to have.
If I get around to it I'll eventually write a book about this technique.
A much worse mindset is to be arrogant enough to assume the code has no bugs.
As a matter of principle every code has bugs. Some bugs are found, some not.
Steer well clear of these people!