Avoid common Javascript Mistakes and improve performance

Veröffentlicht am: 10 Juli 2023
auf dem Kanal: Th30z Code
240
14

Doesn’t matter if you just started or you use javascript everyday. there will always be things which might surprise you.

This video will go through some of the best practices and common mistakes that every javascript/typescript programmer should know.

We will start from variable declaration to code and data structures optimisations, we will see the common usage mistakes of provided functions and things to be aware of around callbacks, arrow functions, the "this" and bind(). We will see common problems with asynchronous code and some useful stuff to keep in mind.

Chapters:
0:00 Intro
0:10 Use let and const
0:43 Declare variables near where they are used
1:27 Don't spend time for the same lookups
2:03 Choose the right data structure
3:02 .map() is not a .forEach()
3:34 Callbacks and Optional parameters
4:30 Don't lose your "this"
5:23 Asynchronous code vs Sequential
5:48 Generator Functions
6:17 Comparing things
6:44 Sorting numbers
7:29 JSON.stringify()
7:43 Math.random(), UUIDs and Secure Random
8:22 The Crypto Module
8:42 Best practices and Common Mistakes

The slides are available here: https://speakerdeck.com/matteobertozz...

Check the video about Encryption and Decryption, using the crypto module, with code examples:    • Unbreakable Messages: RSA + AES Encryption...  

#javascript #typescript #codingtips #programming #coding #webdevelopment #webdeveloper #js


Auf dieser Seite können Sie das Online-Video Avoid common Javascript Mistakes and improve performance mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Th30z Code 10 Juli 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 240 Mal angesehen und es wurde von 14 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!