| I like 99% of this, and the thing I don't like is in the very first line of the example: > import abs, epsilon from math IMHO it's wrong to put the imported symbols first, because the same symbol could come from two different libraries and mean different things. So the library name is pretty important, and putting it last (and burying it after a potentially long list of imported symbols) just feels wrong. I get that it has a more natural-language vibe this way, but put there's a really good reason that most of the languages I know that put the package/module name first: import packageName.member; // java
from package import symbol; # python
use Module 'symbol'; # perl
With Typescript being the notable exception: import { pi as π } from "./maths.js";t
|
Though I almost never manually type out imports manually anymore.