3 ms·
This is really cool, but I can't help but suggest another language which works incredibly well for scripting: Nim[1]. Of course, I must put a disclaimer: I am
by dom96 9y ago
This is really cool, but I can't help but suggest another language which works incredibly well for scripting: Nim[1].
Of course, I must put a disclaimer: I am incredibly biased as I am of Nim's core developers. But to help convince you, Nim has:
* Shebang support
* Error handling via exceptions
* A somewhat limited REPL
* Operator overloading
While I applaud the author's efforts, I can't help but wonder if Nim would fit their needs (or be easier to adjust to their needs).
1 - https://nim-lang.org https://nim-lang.org
- crawshaw 9y agoHi, I'm the author. I don't think Neugram is really ready for the full HN treatment, but I'm happy to answer questions. I kept trying to write a "Why Neugram" post and kept getting stuck, which is why I went with this incomplete enumeration of differences from Go. But I get a bit more into my motivation in section 4 of this post today: https://neugram.io/blog/design-principles https://neugram.io/blog/design-principles Basically, I write Go all the time. I occasionally write bash, perl, or python. Occasionally enough, that those languages fall out of my head. What I really want is a scripting language that reuses all my day-to-day knowledge from Go, only with some more scripting language friendliness. I suspect if I programmed in Nim every day, I would use it as a scripting language. Nim is neat.
- civility 9y agoNim has become so good that no one else should develop languages as pet projects? If that's what you're saying (which is how I read it), it's a very obnoxious sentiment.
- veidr 9y agoI took it more like "if you clicked on that, you may also be interested in this" (which I in fact was).