" "



: Refactoring javascript
: Evan Burchard
: O'Reilly
: 2016
: 484
: 11 Mb
: English

How often do you hear people say things like this? Our javascript is a mess, but were thinking about using [framework of the month]. Like it or not, javascript is not going away. No matter what framework or compiles-to-js language or library you use, bugs and performance concerns will always be an issue if the underlying quality of your javascript is poor. Rewrites, including porting to the framework of the month are terribly expensive and unpredictable. The bugs wont magically go away, and can happily reproduce themselves in a new context. To complicate things further, features will get dropped, at least temporarily. The other popular method of fixing your JS is playing javascript Jenga, where each developer slowly and carefully takes their best guess at how the out-of-control system can be altered to allow for new features, hoping that this doesnt bring the whole stack of blocks down. This book provides clear guidance on how best to avoid these pathological approaches to writing javascript:

Recognize you have a problem with your javascript quality.
Forgive the code you have now, and the developers who made it.
Learn repeatable, memorable, and time-saving refactoring techniques.
Apply these techniques as you work, fixing things along the way.
Internalize these techniques, and avoid writing as much problematic code to begin with.

Bad code doesnt have to stay that way. And making it better doesnt have to be intimidating or unreasonably expensive.

!!! - ( !), 3 !

: bhaer 15-03-2017, 13:05 | |
, .


, , .

 MirKnig.Su  2017