DEV Community

Discussion on: JavaScript Module Cheatsheet 📄‬

Collapse
 
mburszley profile image
Maximilian Burszley

import * is a terrible practice and pollutes the namespace.

Collapse
 
pavelloz profile image
Paweł Kowalski

I dont think so.

Thread Thread
 
mburszley profile image
Maximilian Burszley

Many best practices from many programming languages disagree with you.

Thread Thread
 
pavelloz profile image
Paweł Kowalski

Good to know. Cheers.

Collapse
 
oanouman profile image
Martial Anouman

Totally agree.

For me it's quite annoying to use imported func or var with unknown/unpredictable origin.