Comment by npn
6 months ago
I don't understand why people still choose the syntax `import xxx from yyy` in the current year. It is a major source of complaining for languages like python or javascript, because it makes autocomplete does not work well.
make me instantly lost interest in the language.
Two potential suggestions:
1. Ask - the author is very much available, right here in this comment section they made specifically for such a prospect. 2. Contribute - Code the change you wish to see in the world. Follow the OP’s example, and do something about it.
There are likes 10 similar languages out there with the same promise, why I need to specifically choose this one to contribute?
The point is pretty simple, if the author is too lazy to do some basic research about this common problem, he is probably too lazy to do other important stuff, too.
Time is short, there is always new languages out there to test.
well the situation may improve, so when one types `log10`, it can just fill in `math`. I tend to remember the function, not the library, so that would work better for me.
so it seems to me you're hung up on the current limitations of the language server, which is an implementation detail.
if what you want is actually important, the syntax should have been `import yyy.xxx as xxx` or similar, with optional `as xxx`, instead of a Cobol inspired syntax detail to remember.
> It is a major source of complaining for languages like python or javascript
Dynamically typed languages have more difficulties with autocomplete in general, Bolt is statically typed so you shouldn't automatically assume the same difficulties carry over.
Imagine not picking and language based on the module import keyword order.
This cannot be a reasonable factor in lang selection.