3 thoughts on “Remkus de Vries on code snippet standards

  1. Ugh. No. Not gonna do it.

    Snippets are not meant to be working code. Usually I type them on the fly. If you’re expecting them to work as copy-pasta, then you’re reading them wrong.

    • Whether they’re meant to be working code or not, I think folks definitely treat it as working code. But I wasn’t excited by the idea because it would be ready-to-go code, I was excited by the teaching opportunity available with that approach.

Comments are closed.