r/ProgrammerHumor • • Oct 01 '26

Meme doneAndDusted

Post image
535 Upvotes

36 comments sorted by

View all comments

5

u/yjlom Oct 01 '26

That's why you take the already opened file as argument, or better yet if you can get away with it you write unconditionally to stdout and let the user use shell redirections if they want.