Best Practices

Best practices for JavaScript fall into several categories and are handled at different points in the development process. Writing maintainable code is important because most developers spend a large amount of their time maintaining other developers' code. One of the simplest ways to start writ...

Celý popis

Uložené v:
Podrobná bibliografia
Vydané v:Professional JavaScript for Web Developers s. 1035 - 1065
Hlavný autor: Frisbie, Matt
Médium: Kapitola
Jazyk:English
Vydavateľské údaje: United States John Wiley & Sons, Incorporated 2019
John Wiley & Sons, Inc
Predmet:
ISBN:1119366445, 9781119366447
On-line prístup:Získať plný text
Tagy: Pridať tag
Žiadne tagy, Buďte prvý, kto otaguje tento záznam!
Popis
Shrnutí:Best practices for JavaScript fall into several categories and are handled at different points in the development process. Writing maintainable code is important because most developers spend a large amount of their time maintaining other developers' code. One of the simplest ways to start writing maintainable code is to come up with code conventions for the JavaScript that one writes. Professional organizations have long instituted code conventions for developers in an attempt to make code more maintainable for everyone. This chapter discusses the basics of how to develop code conventions. As with other languages, part of the performance equation has to do with the algorithm or approach used to solve the problem. Skilled developers know from experience which approaches are likely to achieve better performance results. The number of statements in JavaScript code affects the speed with which the operations are performed.
ISBN:1119366445
9781119366447
DOI:10.1002/9781119366560.ch28