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ženo v:
Podrobná bibliografie
Vydáno v:Professional JavaScript for Web Developers s. 1035 - 1065
Hlavní autor: Frisbie, Matt
Médium: Kapitola
Jazyk:angličtina
Vydáno: United States John Wiley & Sons, Incorporated 2019
John Wiley & Sons, Inc
Témata:
ISBN:1119366445, 9781119366447
On-line přístup:Získat plný text
Tagy: Přidat tag
Žádné tagy, Buďte první, kdo vytvoří štítek k tomuto záznamu!
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