Episode 25: Basic Function Definition Syntax

Pubblicato il: 06 agosto 2020
sul canale di: MemoryTin
29
0

As we begin to learn to program, we often write code that is very procedural, that is it usually runs from top to bottom and executes very linearly. This is because we are used to writing English papers or reading books, all of which are extremely linear in nature.

Programming on the other hand is non-linear in that the code we write usually focuses on accomplishing a specific unit of work and that unit of work is often done many times over the life of our executing program. It is for this very reason that the designers of JavaScript created what are called 'functions'. Functions are structures that allow developers to encapsulate code into specific units of work that can be called over and over again to accomplish work.

In this video, we learn about the basic syntax used to define functions within our code.


In questa pagina del sito puoi guardare il video online Episode 25: Basic Function Definition Syntax della durata di ore minuti seconda in buona qualità , che l'utente ha caricato MemoryTin 06 agosto 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 29 volte e gli è piaciuto 0 spettatori. Buona visione!