News for hackers. Stuff that matters.
Re:Node Modules at War: Why CommonJS and ES Modules Can’t Ge... by smt88 on Thursday August 06, 2020 @03:55AM (#24068964)
I honestly have no idea where you got the idea that namespace conflicts are a problem in C# or Java. Both have solved this problem (C# with aliasing and Java with packages).
Re:Node Modules at War: Why CommonJS and ES Modules Can’t Ge... by greggman3 on Friday August 07, 2020 @11:39PM (#24088747)
aliases help you use bar from foo.bar and moo.bar. They don't help you with 2 files both of which declare foo.bar
Re:Node Modules at War: Why CommonJS and ES Modules Can’t Ge... by manigandham on Sunday August 09, 2020 @12:46AM (#24097329)
Why would you declare the same type in 2 different files in the same project?
Re:Node Modules at War: Why CommonJS and ES Modules Can’t Ge... by greggman3 on Tuesday August 11, 2020 @04:58PM (#24125897)
you don't have control of all 3rd party libraries.
Re:Node Modules at War: Why CommonJS and ES Modules Can’t Ge... by manigandham on Tuesday August 11, 2020 @05:20PM (#24126120)
Then it's not the same project and the fully qualified type name will be different.