Bits and Pieces

Insightful articles, step-by-step tutorials, and the latest news on full-stack composable software development

Follow publication

Javascript Worst Practice

Fernando Doglio
Bits and Pieces
Published in
12 min readSep 27, 2021

Build in AI speed — Compose enterprise-grade applications, features, and components
Build in AI speed — Compose enterprise-grade applications, features, and components

Taking advantage of the language’s implicit type coercion rules

The same logic with a number, a string, and a boolean

Tip: Build with independent components, for speed and scale

An independently source-controlled and shared “card” component. On the right => its dependency graph, auto-generated by Bit.

Using var in 2021

Not understanding the differences between normal functions and arrow functions

Not understanding THIS by now

Misusing closures and causing (unwanted) memory leaks

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Published in Bits and Pieces

Insightful articles, step-by-step tutorials, and the latest news on full-stack composable software development

Written by Fernando Doglio

I write about technology, freelancing and more. Check out my FREE newsletter if you’re into Software Development: https://fernandodoglio.substack.com/