Hacker News new | ask | show | jobs
by unnouinceput 2283 days ago
For me EOF is a boolean state. Either I am at the end of file (stream / memory mapped etc) or not. That's how I was taught when I started programming. Never occurred to me to think of it like a character.