Better HN
topnewbestaskshowjobs
Log inSign up

gtrs

22 karma · joined Oct 21, 2014 (12y ago) · 12 submissions

Submissions

comment 6y ago · link · parent

The advanced features Nim offers is in stark contrast with Go where simplicity is valued. But the power those features give you when you really need them is undeniable. There's no need to dance around certain problems.

I did move to Go from Python briefly for performance reasons but once I found Nim, there's just no going back. Simplicity might have real value in large projects but I just don't like my hands tied.

comment 7y ago · link · parent

> flexible identifier rule

When / how has this actually impacted you?

comment 7y ago · link · parent

Nim is written in Nim and no one has run into this style insensitivity confusion despite many people contributing. If your project is smaller or fewer people and you still think this is a big issue, good luck. And if it is larger, this is the least of your concerns.

Think in reverse, is it a useful language feature to have MyNimName, mynimname, MY_NIM_NAME, My_Nim_Name, __MYNIM___name_ be different? When did you need this flexibility recently? Are we really so limited at naming things appropriately?

It's fine to make a big deal about something in theory but if it really was such a dumb idea it would have died over the decade Nim has been around. It was debated again prior to 1.0 and persisted, several good reasons are also mentioned in this thread. And it isn't even an original idea as brought up by several others.

If this is the reason someone doesn't try Nim then it's only unfortunate for them. Add this to the tabs vs. spaces, curlies vs. whitespace indentation or other so called concerns which make no difference in the grand scheme of things.

comment 7y ago · link · parent

It's not like you can contact Google and get support for Go. The Nim community might be smaller but you still get help if you ask.

comment 8y ago · link · parent

Every language has faced challenges with change, nothing specific to Nim. And 1.0 is a distraction, if the language version has all the features you want, you can use it as long as you want. The code is also open and an unbearable bug can be easily backported.

If you do want the new cooler features, then ya, you may need to port your code but that's the case with any compiler update - you need to run a full regression at the very least.

comment 8y ago · link · parent

Totally feasible, I ported Python code to Nim and it was super easy and I got a huge performance boost.

If performance isn't a big deal, the other thing I've noticed is that compilation guarantees a much higher quality of code compared to interpretation. At least compared to Python, I have been hit by bad code which didn't get caught because there was no test for it. I've not faced that with Nim yet.

No doubt you can still have issues but it's one less thing to worry about.

7.

Centrally manage your vimrc and plugins and keep up to date super easily(github.com ↗)

2 points · by gtrs · 8y ago · discuss

comment 8y ago · link · parent

Binary size was one of the main reasons I started using Nim.

9.

Show HN: ff is a Windows wrapper for fzf(github.com ↗)

2 points · by gtrs · 8y ago · discuss

10.

Show HN: V0.2.1 of Px for Windows just released(github.com ↗)

2 points · by gtrs · 9y ago · discuss

11.

Show HN: V0.2.0 of Px is out(github.com ↗)

2 points · by gtrs · 9y ago · discuss

12.

Show HN: HTTP proxy server to automatically authenticate through an NTLM proxy(github.com ↗)

2 points · by gtrs · 10y ago · discuss