r/AskProgramming • • Jun 30 '26

Other What is buffered input?

I was reading the documentation for FALSE when I got to the section on I/O and got super confused at the warning "watch out: all these are BUFFERED." So, what is buffered input?

2 Upvotes

11 comments sorted by

View all comments

Show parent comment

11

u/CdRReddit Jun 30 '26

metaphorically you can think of buffers like a moving truck

you can either transport all your furniture by repeatedly driving from your old house to your new house with a single piece of furniture in the back of your car, or by getting a moving truck, loading a bunch of furniture at once, and then unloading it at the destination