Live data from Hacker News

Nim versions 1.4.4 and 1.2.10

nim-lang.org

21–30 of 44 posts

Re: Nim versions 1.4.4 and 1.2.10

#21
post #2

One thing I'm missing in all these languages is 100% auto-completion like the one you have in Java or C#. I have yet to experience a single instance of Intellij not being able to auto-complete something or not do it completely. I know Nim and Rust have good VS Code plugins that do that to some extent but it is not something I can rely upon. Maybe I'm just spoiled.

There is an official Nim plugin from JetBrains now. It won't be as polished as Java support for obvious reasons, but at least you can stick with your preferred environment.

Re: Nim versions 1.4.4 and 1.2.10

#22
post #2

One thing I'm missing in all these languages is 100% auto-completion like the one you have in Java or C#. I have yet to experience a single instance of Intellij not being able to auto-complete something or not do it completely. I know Nim and Rust have good VS Code plugins that do that to some extent but it is not something I can rely upon. Maybe I'm just spoiled.

I know your pain. Have you used Rust lately with the Rust-Analyzer plugin? Don't use the old "rls" one. You might be pretty happy with it these days.

Re: Nim versions 1.4.4 and 1.2.10

#23
post #2

One thing I'm missing in all these languages is 100% auto-completion like the one you have in Java or C#. I have yet to experience a single instance of Intellij not being able to auto-complete something or not do it completely. I know Nim and Rust have good VS Code plugins that do that to some extent but it is not something I can rely upon. Maybe I'm just spoiled.

Many of these languages rely on code generation, whether it's templates, macros, preprocessor. Since a lot of the code doesn't exist until compile time, it's hard to have the same level of autocomplete as in Java/C#, where everything is basically known from the start.

That can be a minor complication compared to just, writing a good autocomplete system at all. Microsoft went to a lot of effort, they have some good video talks about it out there. But being able to give compiler feedback in realtime requires thinking about the compiler with that in mind from the start, other wise it is too slow and resource consuming.

Re: Nim versions 1.4.4 and 1.2.10

#24
post #2

One thing I'm missing in all these languages is 100% auto-completion like the one you have in Java or C#. I have yet to experience a single instance of Intellij not being able to auto-complete something or not do it completely. I know Nim and Rust have good VS Code plugins that do that to some extent but it is not something I can rely upon. Maybe I'm just spoiled.

I know your pain. Have you used Rust lately with the Rust-Analyzer plugin? Don't use the old "rls" one. You might be pretty happy with it these days.

It's great indeed and it's advancing quickly. I hope it'll reach 100% coverage at some point but I don't know whether that's achievable.

Re: Nim versions 1.4.4 and 1.2.10

#25
post #2

One thing I'm missing in all these languages is 100% auto-completion like the one you have in Java or C#. I have yet to experience a single instance of Intellij not being able to auto-complete something or not do it completely. I know Nim and Rust have good VS Code plugins that do that to some extent but it is not something I can rely upon. Maybe I'm just spoiled.

25 years ago I would have said people were just being lazy for expecting autocompletion.

Now I think we should demand autocompletion, and much more.

We should want both our languages to be smarter (type inference) so we can type less, and our tools are should know what we want to type.

https://www.tabnine.com/

Re: Nim versions 1.4.4 and 1.2.10

#26
post #2

One thing I'm missing in all these languages is 100% auto-completion like the one you have in Java or C#. I have yet to experience a single instance of Intellij not being able to auto-complete something or not do it completely. I know Nim and Rust have good VS Code plugins that do that to some extent but it is not something I can rely upon. Maybe I'm just spoiled.

I know your pain. Have you used Rust lately with the Rust-Analyzer plugin? Don't use the old "rls" one. You might be pretty happy with it these days.

Oh right, I was using "rls" as part of the MS VSCode plugin and gave up using Rust in the end as it was so bad to me. I might check this one out.

Re: Nim versions 1.4.4 and 1.2.10

#27
post #10

Earlier quoted context omitted.

Most languages (that aren't Java) don't really need autocomplete.

If you mean that autocomplete saves you less typing in other languages, I agree, but as long as it's a language with methods (where you're not always sure how the method you want to use is called) and parameters (where you're not always sure about the order), autocomplete is helpful. Of course, if you're a rockstar ninja genius who has every single method of every single class memorized, you're not gonna need it, but…

[deleted]

Re: Nim versions 1.4.4 and 1.2.10

#28
post #19

I wish more effort was made by the NIM team to focus on web development as a use for NIM.

Agreed that there is room for improvement, but the Nim community is working on some promising web projects. Prologue framework, Norm (orm), and Karax (FE framework) are all great examples of how Nim can excel in the web environment.

Re: Nim versions 1.4.4 and 1.2.10

#29
post #2

One thing I'm missing in all these languages is 100% auto-completion like the one you have in Java or C#. I have yet to experience a single instance of Intellij not being able to auto-complete something or not do it completely. I know Nim and Rust have good VS Code plugins that do that to some extent but it is not something I can rely upon. Maybe I'm just spoiled.

If I don't remember how to use some function it's a sign that I have to read the documentation. The documentation can have important tips around performance, security & recommended usage patterns that I need to know.

And if you don't remember a lot of methods it means you might be out of your league and need to read the documentation and go through a tutorial to understand what you are doing.

Keyword, method and variable completion is ok, but overzealous completion encourage churning out code on "autopilot".

If you are not Torvalds it's better to write code good slowly than the opposite.

Post reply on HN