Good Code,

Bad Code

@shortdiv

@hearsparkbox

#frontend #developer

WARNING!!!!

Technical Jargon

TDD

BDD

DRY

OOP / FP

SOLID

... etc

Technical Debt

Shaving a Yak

Bike Shedding

Cargo Culting

Code Smells

What is 'Good Code' even?

Good code is subjective

#realTalk

What is our code really for? 

It needs to sort of work.

Why Does Code need to be 'Good'

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."

- Jeff Atwood 

Developer Happiness

Factors that influence good code:

Timeline/Budget

Team Size

Code Culture

Experience

Optimal Environments for writing better code

Style Guides

JSHint/Lint

TM

Naming Conventions

“There are only two hard things in Computer Science: cache invalidation and naming things.”

 - Phil Karlton

Documentation

Testing

Ship it. 

Thanks! 

Good Code, Bad Code

By shortdiv

Good Code, Bad Code

  • 548