|
|
|
|
|
by jamal-kumar
1106 days ago
|
|
Really? I remember using the commonjs module pattern even before nodejs. It basically just felt like it was a way to write javascript to a standard of quality more than anything in those times. Lots of closure enforcement, and everything wrapped in a top-level function - The module imports were just a side effect. "require" is just a top-level first-class function call. I believe I was using it to build crossplatform mobile applications at one point, and there was absolutely no nodejs involved in that. All of that said I'm super happy I moved away from mobile/frontend into backend. Way less annoyances. |
|