I don't like the conflation of "-" as both "word separator in the name" and "namespace". I prefer keeping the "/", so you would get "snu/lines" instead of "some-nice-string-utils/lines". Otherwise I think this article is great, and I don't see why more languages don't use this kind of system, instead of dumping all symbols in the imported namespace into the current namespace.
I'm surprised Unison's approach hasn't caught on more widely. ISTR Joe Armstrong of Erlang was experimenting with something similar in a related domain,
For me, Python's "from library import module as myname" is unbeatable.
I like to choose my own namespaces and assign whatever bits of a lib
to it as I feel like. It seems robust and flexible.
This usage is so idiomatic and ubiquitous that you can see "np." or "pd." or "plt." in just about any code and assume that the user is using Numpy or Pandas or Matplotlib.
Now that I think about it, I really should set up a "snippet" to type this for me:
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
the biggest problem with JS's is extremely incidental, but a total mess in practice. If you type from left to right it's impossible for auto-complete to help you with member names (since it can't know what module you're looking for!)
By now they (some maintainers and some users) have a lot from a typical Common Lisp into Emacs Lisp re-engineered (incl. the Common Lisp Object System), but it is not 'officially allowed' to actually upgrade the language/runtime to it. Just libraries or forks...
Somewhat unrelated but does anyone know how this website was made?
I like the layout and have been wanting to start a blog for some time, this looks perfect.
Won't tell you anything about the static site generator they use, or much else about the HTMl that's returned was made, even what program spit it out-- the information usually just isn't there :p