Should we trust "best practices"? A take on dogmatism in the development industry.
Hello
View Slide
Is there agreat divide?
stylingdataa11yperf
Different jobs ?
stylingdataa11yperfEvery company hasits own definition
JS-JS-JSvsHTML-CSS-JS
Differentbelief system
Best practices
Separation ofconcerns
SEPARATION OF CONCERNSIs the separationworth it now ?
SEPARATION OF CONCERNSCSS-in-JS
SEPARATION OF CONCERNS
SPAs
Semantic tags
ARIA
DRY
KISS
a.map(f).map(g)vsa.map(x !=> g(f(x))KISS
YAGNI
Don't reinventthe wheel
DON'T REINVENT THE WHEELReinventingisn't bad
YAGNIOwning your codecan be good
Organise your files this wayMake smart and dumb componentsUse redux with ducksWrite tests firstYou must respect HTTP verbsPremature optimisation is root the root of all evil…
And there'ssome truthto all of them
but …
they are notnecessarily accuratefor your context
Your postulatemight be different
Reassess over time
Best doesn'tmean forever
Thank you
Matthias Le Brun@bloodyowlQuestions ?