Skip to content

Commit

Permalink
Improve JavaScript introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
dobrac committed Apr 22, 2024
1 parent 547db4c commit bd743cb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions text/c_implementation.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ \section{Choosing the Technology}
For the programming language, because of the dynamic rendering based on the common format, the only possibilities are JavaScript and WebAssembly.
Because I will need to be updating the website (meaning the DOM), which is not supported directly by WebAssembly, I have chosen JavaScript~\cite{webassembly-dom}.

JavaScript is a scripting language.
It is designed to start at the beginning of the file and end at the end.
The website will not be only a simple script though, but many scripts with complex functions and classes.
JavaScript was initially designed to manage basic website interactions using simple scripts.
The website will not be a simple script though, but many scripts with complex functions and classes.
Complexity can lead to subtle bugs that are hard to track down in plain JavaScript.
Adding type-checking ensures that errors are caught at the development stage, reducing bugs and improving code quality.
Additionally, type annotations make the code more readable and easier to understand, which is crucial when collaborating with others or for future modifications.
Expand Down

0 comments on commit bd743cb

Please sign in to comment.