Writing code from "first principles"

reinventing the wheel, with bugs, no docs, or peer review