|
|
|
|
|
by A_Person
2914 days ago
|
|
> In your first snippet, would you expect a candidate to tell you that `f` might be undefined? No. Because I'd expect the candidate to focus on subtle issues, and not waste time on bleeding obvious ones! Of course f() might be undefined. Blind Freddy knows that. But Blind Freddy can't necessarily see the other (much more subtle) problems in those 4 lines of code. I want to know, is this candidate more than Blind Freddy? Does he inhabit what some of us call "the real world", where things like division by zero are things to be consciously managed by proper coding practices? (Edits for clarity) |
|