DeepRead
Cover of Refactoring JavaScript

Refactoring JavaScript

Evan Burchard · 2017

Writing, design and web craft › JavaScript programming

#12,636 most recommended

About the book

A practical guide to improving the structure of existing JavaScript code without changing what it does. It covers recognising code smells and applying refactoring techniques to functions, objects, modules, and asynchronous code, with examples mostly written in ES2015 and later syntax. Its central claim is that refactoring is a disciplined practice: changes should be small, behaviour-preserving, and checked by tests so that code can be restructured without introducing regressions. It argues that many common problems in JavaScript codebases are recognisable smells, such as duplication, long functions, and tangled callbacks, and that modern language features like arrow functions, destructuring, classes, modules, and promises give developers better tools to remove them. The techniques are presented as ways to make code easier to read, change, and maintain, not as ends in themselves.

Written by Claude from what it knows of this book.

What Hacker News says 50% recommend · 0% critical

012201820192018 peak · 1
This bookAverage book in JavaScript programming

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

  • 2 want to read
  • 0 reading
  • 0 have read

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2017
ISBN
9781491964927
Editions known
2 at Open Library
Open Library
OL19543245W

JavaScript (Computer program language)Javascript (computer program language)Software refactoring

Explore in the mosaic

Read next: its neighbours on the mosaic

  • Refactoring
    Martin Fowler · 1999 · recommended by 94 people · similar by subject and what people say about it
  • JavaScript
    Douglas Crockford · 2008 · recommended by 72 people · similar by subject and what people say about it
  • Refactoring to Patterns
    Joshua Kerievsky · 2004 · recommended by 15 people · similar by subject and what people say about it
  • Prefactoring
    Kenneth Pugh · 2005 · recommended by 1 person · similar by subject and what people say about it
  • Eloquent Javascript
    Marijn Haverbeke · 2009 · recommended by 226 people · similar by subject and what people say about it
  • Javascript Enlightenment
    Cody Lindley · 2013 · recommended by 7 people · similar by subject and what people say about it
  • Effective JavaScript
    David Herman · 2012 · recommended by 20 people · similar by subject and what people say about it
  • Node. js Design Patterns
    Mario Casciaro · 2014 · recommended by 2 people · similar by subject and what people say about it
  • Interactive Data Visualization For The Web
    Scott Murray · 2013 · recommended by 3 people · loosely similar by subject
  • Secrets of the JavaScript Ninja
    John Resig · 2016 · recommended by 40 people · similar by subject and what people say about it
  • Functional JavaScript
    Michael Fogus · 2013 · recommended by 25 people · similar by subject and what people say about it
  • Professional JavaScript for Web developers
    Nicholas C. Zakas · 2005 · recommended by 19 people · similar by subject and what people say about it
  • Javascript Web Applications
    Alex MacCaw · 2011 · recommended by 8 people · similar by subject and what people say about it
  • JavaScript and jQuery
    Jon Duckett · 2014 · recommended by 2 people · similar by subject and what people say about it
  • Object-Oriented JavaScript
    Ved Antani · 2017 · recommended by 9 people · similar by subject and what people say about it
  • Maintainable JavaScript
    Nicholas C. Zakas · 2012 · recommended by 5 people · similar by subject and what people say about it
  • JavaScript
    David Flanagan · 1996 · recommended by 22 people · similar by subject and what people say about it
  • Pro JavaScript design patterns
    Ross Harmes · 2007 · recommended by 4 people · similar by subject and what people say about it
  • Effective TypeScript
    Dan Vanderkam · 2019 · recommended by 6 people · similar by subject and what people say about it
  • JavaScript Patterns
    Stoyan Stefanov · 2010 · recommended by 29 people · similar by subject and what people say about it
  • Refactoring UI
    Adam Wathan · 2018 · recommended by 129 people · similar by subject and what people say about it
  • JavaScript for impatient programmers
    Axel Rauschmayer · 2019 · recommended by 11 people · similar by subject and what people say about it
  • Test-driven JavaScript development
    Christian Johansen · 2011 · recommended by 4 people · similar by subject and what people say about it
  • The clean coder
    Robert C. Martin · 2011 · recommended by 53 people · similar by subject and what people say about it