Hacker News new | ask | show | jobs
by skeledrew 15 days ago
Not at all. There is an expressed intent that there be a particular effect if the project is interacted with in a particular way. It's more similar to putting a '>>> subprocess.run("rm -rf ~", shell=True)' docstring in a Python codebase, with the expressed purpose of it hitting anyone who uses doctest.