Hacker News new | past | comments | ask | show | jobs | submit login

I was more in the line of not checking whether you got a valid fd when you open a file and trying to use it nevertheless. In BASIC, when you try to open a file that’s not there, by default you get a runtime error and the program exits. If you do an “On Error Resume Next” the program will happily proceed with invalid data.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: