6 ms·
I think Nim has a good homepage, with some bullet points explaining what the language is all about coupled with several code examples. I'm not saying Nim is bet
by nallerooth 1y ago
I think Nim has a good homepage, with some bullet points explaining what the language is all about coupled with several code examples. I'm not saying Nim is better, but I visited the page the other day and thought it was neat.
https://nim-lang.org/ https://nim-lang.org/
- voidUpdate 1y agoYeah, that's exactly the thing I'd hope to see on anything trying to sell me on using a new language. Tell me about what it does, and show me how it does it
- johnisgood 1y agoYeah I think Nim's website is well-made. You can see the features / pros of the language, with many different (and IMO cool) examples.
- 1980phipsi 1y agoThe D language home page has something similar with a drop down with code examples https://dlang.org/ https://dlang.org/
- Alifatisk 1y agoI was about to mention Dlangs website aswell, very well designed and clearly presents the language
- vova_hn 1y agoI remember the first time I visited the DLang website. I clicked “What is D used for?” [0] and scrolled to the very first section, “1. Industry.” The opening example was “1. Games,” so naturally I went to read more…and found the first link, “AAA game,” was dead. It led straight to an error page on Xbox. That was years ago. After reading your comment, I decided to check again. The same “AAA game” link is still first, and it’s still broken. You can’t really call that “a good presentation of a language” when the very first real-world example links to nowhere—and nobody’s bothered to fix it for years. [0] https://dlang.org/areas-of-d-usage.html https://dlang.org/areas-of-d-usage.html
- 1980phipsi 1y agoIf you don't file an issue, then no one will know to fix it. Took me literally three minutes to create a PR using the "Improve this page" button. https://github.com/dlang/dlang.org/pull/4277 https://github.com/dlang/dlang.org/pull/4277
- Alifatisk 1y agoI guess you're referring to the official link to quantumbreak.com. No one has probably noticed or pointed it out yet, I do not know where to raise it since I am not a member of the fourm. But the next sentence links to the presentation about the Game (Quantumbreak) and it's integration with Dlang. You are not wrong, that should be fixed but no information about it is lost, I feel like you're a bit too harsh here.
- whalesalad 1y agoNim feels like the perfect language to me. Keep meaning to give it a shot for something.
- maleldil 1y agoThe way it handles imports is weird. Default to importing everything from the module without qualification? I know you can choose to qualify everything, but that seems to go against the language's conventions.
- archargelod 1y agoUsing fully qualified imports is a Python tradition. Python doesn't have a notion of public/private symbols (no, "__" prefix does absolutely nothing). It also doesn't have a good type system, so it can't have function overloading. This is why you're required to qualify almost all imports in Python, to avoid name clashes. Nim doesn't have this problem and also "fixes" a lot of other shortcomings[1] of Python.[2] [1] - https://github.com/yugr/python-hate https://github.com/yugr/python-hate [2] - https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programmers https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programm...
- maleldil 1y agoIt's not only a Python thing. Many modern languages require this as well. Go, Gleam, Rust, etc. When you're reading Nim code and you see a symbol you don't know, how can you tell where it comes from? In Rust, it's either qualified or you have to explicitly import it. What do you do in Nim?
- archargelod 1y agoThis is solved by tooling. LSP will get you to symbol definition in a single key press. That's a lot faster then looking it up manually. In my experience, it's even faster to git clone, open a project in neovim and navigate with LSP than browsing code with some online interface.
- 1y ago
- mvieira38 1y agoIt still looks great with Javascript off, 3rd party frames disabled and no remote fonts, too, for us privacy nuts