+ All Categories
Home > Software > The sorry state of frontend code [a talk @ Softbinator]

The sorry state of frontend code [a talk @ Softbinator]

Date post: 28-Jan-2018
Category:
Upload: alin-pandichi
View: 133 times
Download: 3 times
Share this document with a friend
33
THE SORRY STATE OF FRONTEND CODE
Transcript

THE SORRY STATE OF

FRONTEND CODE

DISCLAIMER

Frontend code written by frontend developers is fine, most of the time.

Frontend code written by backend developers is NOT fine, most of the time.

SKIPPING ALL THOSE RULES

THREE SMALL TIPS TO HELP YOU DO WHAT YOU LOVE EVERYDAY

Quick and dirty will do it. We'll revisit it later when things aren't so hectic.

THREE SMALL TIPS TO HELP YOU DO WHAT YOU LOVE EVERYDAY

BUT WE NEVER DO,

DO WE?

BOYSCOUT RULE:

LEAVE THE

PLACE CLEANER

THAN YOU FOUND IT!

Inconsistent naming Abbreviations Unclear intent Big pile of CSS

Commented code Outdated comments

Etc.

LACK OF

S

HIGHCOUPLING

SINGLE RESPONSIBILITY PRINCIPLE

https://alistapart.com/article/writing-testable-javascript

3RD PARTY

DEPENDENCIES

GLOBAL  NAMESPACE POLLUTION

SIDE  EFFECTS

https://www.smashingmagazine.com/2016/06/an-introduction-to-redux/

THANK YOU

Alin  Pandichi Software developer, trainer and coach at

Mozaic Works

@alinpandichi

[email protected]


Recommended