News for hackers. Stuff that matters.
Re:Why do we need modules at all? (2011) by Anonymous4C54D6 on Tuesday August 27, 2019 @10:59AM (#20810259)
As way-too-often, I think the solution should be a good IDE. There is nothing stopping your IDE from completing "foo" as "module1.foo" and offering "module2.foo" as well if it exists. Alternatively the IDE could just display "module1.foo" instead of foo because that is what the import dictates.

As always with dynamic things and editing code for them, this will be more difficult to get right when imports are dynamic.

There are no comments on this comment yet.