JSDoc is a markup language used to annotate JavaScript source code files. Thanks to the JSDoc comments, developers can add documentation to the code they are creating. This is required as JavaScript is a language that doesn’t support data typing. In today’s video we are going to see how Google approaches the documentation of JavaScript code.
Google JavaScript Code Style Guide: https://google.github.io/styleguide/j...
Google Closure Compiler: https://github.com/google/closure-com...
My blog: http://treeindev.net/
The general documentation format looks like this. Developers use it to describe functionalities of their code as well as the format of the data they are working with. Comments can be written in block or as a single-line. It is important that comments are well-formed, that is because many tools extract metadata from JSDocs in order to perform code validation, optimization or automatic documentation files.
JSDoc serves multiple purposes in JavaScript. In addition to being used to generate documentation it is also used as a control tooling. Google developed the Closure Compiler, a tool for making JavaScript download and run faster. It parses your JavaScript, analyzes it and removes dead code. This makes it a great compiler for improving the JavaScript files used in production.
#javascript #coding #google #jsodcs
In questa pagina del sito puoi guardare il video online JavaScript Documentation Following Google Coding Style Guide - JSDocs della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Miquel Canal (Treeindev) 01 giugno 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,300 volte e gli è piaciuto 18 spettatori. Buona visione!