News for hackers. Stuff that matters.
Re:ShutIt – Automation framework for programmers by zwischenzug on Sunday July 10, 2016 @06:02PM (#12067465)
I know what you mean, but I couldn't think of a better example that would not have involved explaining something else that would have distracted from the point. I wasn't comfortable doing it, but at the same time, couldn't think of anything better.

Actually, I have similar problems when teaching - I'm writing a git course at the moment, and it's hard to illustrate concepts in a realistic way without hopelessly artificial repos.

Re:ShutIt – Automation framework for programmers by rickycook on Sunday July 10, 2016 @07:18PM (#12067745)
there's another file_exists for the git directory that seems to be an even more complete example :)