I am stuck working on a C++ code base using Qt. Could I in theory use Nim to accelerate my development, or would it produce incomprehensible or ugly C++ code? Alternatively are there other alternatives to C++ for people who have to submit C++ code into the repository? I use other languages than C++ on a regular basis and I find it annoying to tedious the language is. So much boilerplate and repetitions.
The Nim programming language
71–80 of 97 posts
Re: The Nim programming language
#72If anyone was interested, the markup theme is Dracula[1], which subjectively feels like the most readable highlighting theme I've ever used. [1]: https://draculatheme.com/
Re: The Nim programming language
#73If anyone was interested, the markup theme is Dracula[1], which subjectively feels like the most readable highlighting theme I've ever used. [1]: https://draculatheme.com/
Re: The Nim programming language
#74Earlier quoted context omitted.
Which IDE?
I've had success with vscode: I have it setup to build+run on save which has so far netted me very quick turnaround times for trying things out. Admittedly I'm still doing super basic stuff at the moment.
Re: The Nim programming language
#75Re: The Nim programming language
#76Nim is the language I have always thought was a brilliant idea that I never get to use. It's a shame. Nim is to C/C++ as CoffeeScript is to JavaScript. A highly extensible template language atop a portable language with libraries for practically everything. So why haven't I hopped on the bandwagon? Outside of C++, C, and Fortran - the only way I have ever learned a new language is through using a REPL. How much of Py…
I recently had to learn a language whose REPL I didn't like and initially felt the same way, but then I did the following: I began writing 'unit tests' for each feature of the language I studied, and I had a Makefile to recompile and run my tests whenever I saved. This setup gives you instant feedback just like a REPL with the added convenience of being able to go back to previous examples without having to separatel…
Been able to simply and quickly run code in a variety of languages with little friction is a handy thing to have, particularly when writing fragments in multiple languages at the same time.
[1] https://marketplace.visualstudio.com/items?itemName=formulah...
Re: The Nim programming language
#77I can see some interesting applications once we can target WASM, libraries that are client/server agnostic with clients that can join in the cloud workload comes to mind.
Re: The Nim programming language
#78Earlier quoted context omitted.
> Are you considering converting the documentation pages to responsive design too? Unless someone volunteers to do this it likely won't happen any time soon. As for the continuity. Not all pages can have the same "section" style, the documentation page for example is just composed of a list of links and descriptions. Of course, if you have ideas on how to improve the continuity then I'm all ears :)
> Not all pages can have the same "section" style, But they can have the same CSS styling (colors, fonts, responsiveness, etc) that ties the whole site together. A good example that's at the top of my mind is this: https://hugodocs.info It works great on desktop as well as phone, and a common theme is seen all across the site. > the documentation page for example is just composed of a list of links and descriptions.…
> But they can have the same CSS styling (colors, fonts, responsiveness, etc) that ties the whole site together.
> A good example that's at the top of my mind is this: https://hugodocs.info
> It works great on desktop as well as phone, and a common theme is seen all across the site.
I might be missing something but the website you linked has only two pages and I would consider them to lack continuity even more than the current Nim website. The layout for the "docs" page is completely different to the home page.
> By the documentation page, I meant a page like this: https://nim-lang.org/docs/manual.html
Oh I understand where you're coming from a bit more now. Everything under the `docs/` is sort of separate, it's part of Nim's doc gen generator and thus has a different style associated with it. But I can see why you think it loses continuity.
Re: The Nim programming language
#79Nim is the language I have always thought was a brilliant idea that I never get to use. It's a shame. Nim is to C/C++ as CoffeeScript is to JavaScript. A highly extensible template language atop a portable language with libraries for practically everything. So why haven't I hopped on the bandwagon? Outside of C++, C, and Fortran - the only way I have ever learned a new language is through using a REPL. How much of Py…
When I first started using Nim I felt the same way. While I still would love a REPL in Nim, I think you can get pretty close to one by just getting an IDE that can compile snippets of source code for you quickly and easily.
It's not the same thing but it spares a few key strokes...
Re: The Nim programming language
#80Earlier quoted context omitted.
Sorry, by "in maven" I meant "in a maven repository". Using Maven itself is a nightmare, I know, but if what you need is to download some jars and stick them on the classpath, leiningen is perfect (it even compiles regular Java and has control over JDK versions if you want that) And it generates the pom files so you don't have to...
I guess I just need to read up on how to actually use maven the right way. Thanks.