Re:Migrating a 10,000-line legacy JavaScript codebase to Typ...
by balls187 on Friday June 17, 2016 @01:32PM
(#11924110)
> Since globals defined in different JavaScript files share a common namespace, I often found it convenient to reference globals...I knew all along that these were bad habits
This line resonated with me. In my first CS course (Intro to programming), I learned about why using globals can be problematic.
A good reminder that engineering is all about trade-offs. Sacrifice future maintainability for present day productivity.
This line resonated with me. In my first CS course (Intro to programming), I learned about why using globals can be problematic.
A good reminder that engineering is all about trade-offs. Sacrifice future maintainability for present day productivity.