News for hackers. Stuff that matters.
Re:A Cost Model for Nim by xigoi on Saturday November 12, 2022 @08:23AM (#33572798)
Due to the abstraction that Nim offers, things like autocomplete and refactoring are not needed as much as in Java.
Re:A Cost Model for Nim by winrid on Saturday November 12, 2022 @02:16PM (#33576089)
If I start typing newSeq, give me the option to auto import from std, etc. These little things add up.

Also basic usage of generics doesn't really work w/ the vs code plugin, which is the best one.

Re:A Cost Model for Nim by xigoi on Monday November 14, 2022 @08:45AM (#33593774)
> If I start typing newSeq, give me the option to auto import from std, etc.

Good idea! I've made a proof-of-concept Neovim plugin: https://sr.ht/~xigoi/nvim-summon/

It wasn't difficult, so if you use a different editor, you can make one too (feel free to reuse my documentation scraper).

Re:A Cost Model for Nim by winrid on Monday November 14, 2022 @06:34PM (#33602986)
Neat! But I pay for Clion, so I'm hoping they can prioritize this so I don't have to write plugins myself... :)

We'll see when I start my next nim project, how I can contribute..

Re:A Cost Model for Nim by winrid on Monday November 14, 2022 @10:50PM (#33605049)
I am considering betting my next big project on Nim. If it works out and I can work on it full time then I'll have lots of time to help Nim!
Re:A Cost Model for Nim by winrid on Monday November 14, 2022 @06:35PM (#33602995)
Note - looks like generics do work, the issue was my file names had dashes in them. Evidently that is not supported, but I didn't get any errors :p