code is a job

code is a job

Writing great code is a challenge. We have to use the best frameworks, spend every hour of every day at the keyboard.. The key to writing great code, we're told, is passion. But what if, in order to write great code, we need to do exactly the opposite? Code is a job, after all. What if the simplest way to improve our code is to treat it like one?

76f795cabbf80024b1024517c67f0bcf?s=128

Garann Means

June 22, 2015
Tweet

Transcript

  1. 2.

    buenas tardes • circa 1997 • Etsy, Editorially, Joyent •

    community organizer • technical author • conference speaker
  2. 4.
  3. 5.

    but today tho • writing better code • ignoring nonsense

    • not believing the hype • doing a good job
  4. 8.

    “we’ve been trying different things for a while, and these

    seem to be the common threads among ourselves, and the most successful and trustworthy people we’ve lived with before”
  5. 10.

    self reinforcing • you didn’t learn the latest framework •

    you didn’t put enough time into open source • you didn’t stay late and let your outside interests atrophy • you weren’t “passionate” enough
  6. 14.
  7. 18.

    JS templates • jTemplates: independent • jQuery Templates plugin: ecosystem

    • Mustache: independent • Angular / React / etc: ecosystem
  8. 19.

    JS templates • jTemplates: uses JS to produce HTML •

    jQuery Templates plugin: uses JS to produce HTML • Mustache: uses JS to produce HTML • Angular / React / etc: uses JS to produce HTML
  9. 23.

    performance • eliminate bad performance in code • don’t make

    a bunch of requests • get whatever you can from cache • don’t block loading
  10. 24.

    performance • eliminate bad performance in code: good judgement •

    don’t make a bunch of requests: good judgement • get whatever you can from cache: good judgement • don’t block loading: good judgement
  11. 28.

    pro code skills • ability to organize tasks • very

    simple logic • very simple math • rules of grammar and language • things you learn before your 20s
  12. 32.

    hot code tips • go for a walk • make

    friends • read a book • watch the news • make something physical
  13. 34.
  14. 35.
  15. 38.

    but that’s design!! • code involves design work • building

    anything does • the more of the big picture you see, the better your design • hence, the better your code
  16. 45.

    “just” a job • in capitalism, a job is essential

    • in a job, accountability is essential • if the code is important, make it a job