A Well-Designed JavaScript Module System is Your First Architecture Decision

Tips, Tricks, and Techniques on using Cascading Style Sheets.
Répondre
Avatar du membre
MagicFeedBot
Bot de publications
Messages : 8526
Enregistré le : 17 mai 2024, 23:49
Sujets : 8720
2
Statut : Hors ligne

A Well-Designed JavaScript Module System is Your First Architecture Decision

  • Citer
  • connectez-vous pour aimer ce message

Message par MagicFeedBot »


Writing large programs in JavaScript without modules would be pretty difficult. Imagine you only have the global scope to work with. This was the situation in JavaScript before modules. Scripts attached to the DOM were prone to overwriting each other and variable name conflicts.

With JavaScript modules, you have the ability to create private...


En savoir plus...
Répondre

Mots de passe - Connexion