5 ms·
What Rust and Go still misses is still the good IDE. On the C/C++ side you could even use Eclipse and IntelliJ or Visual Studio. And still if you don't like an
by merb 11y ago
What Rust and Go still misses is still the good IDE. On the C/C++ side you could even use Eclipse and IntelliJ or Visual Studio.
And still if you don't like an IDE you could use an editor, however on rust / golang you are forced to the editor, which could be aweful if the project is grown / big, at least for me.
Good practices are helping, however the best editorconfig could help you if your codepage grown too big and you don't remeber the function of a specific struct/class/whatever.
- jhasse 11y agoWith Atom and Racer you can jump to definitions and code completition is really really good. With atom-build you can also directly trigger a build / run / test. Set up is basically: apm install language-rust racer build build-cargo But you'll have to download Racer and Rust's source code, too.
- whitenoice 11y agoThere is an intellij plugin for golang - https://plugins.jetbrains.com/plugin/5047?pr=idea https://plugins.jetbrains.com/plugin/5047?pr=idea
- killercup 11y agoI don't know about Go, but I've recently seen this on the Rust side(/site): https://www.rust-lang.org/ides.html https://www.rust-lang.org/ides.html
- merb 11y agoI know that but racer is not yet as "ready" as i liked. Currently go is far ahead especially https://github.com/DisposaBoy/GoSublime https://github.com/DisposaBoy/GoSublime However I liked rust more, for what I'm doing.
- deleted 11y ago[deleted]
- tatterdemalion 11y agoThere's also this checklist: http://areweideyet.com/ http://areweideyet.com/
- bkjelden 11y agoAgreed that rust and go need better IDEs, but I have also seen a lot of c++ code that IDEs are unable to do much with because of the language's complexity and ambiguity. VS is easily confused by typedefs and forward declarations, in my experience.
- thristian 11y agoHave you tried writing Rust and Go in a plain text editor and had problems, or are you a happy user of an IDE for another language and waiting for one to be available before you try them out? Some languages (the prime example being Java) are designed to have simple syntax so that large-scale manipulations can be automated, and as a result you really do need an IDE to work with them: few humans have the patience to find all 59 places in a code-base where some function is called or overridden and add a new parameter. On the other hand, some languages allow humans the complexity to define their own abstractions, like C++ templates or Scheme macros or Python's reflection and metaprogramming. This extra layer of complexity makes it much harder to write a good IDE, but it also makes an IDE much less necessary: instead of editing all those 59 uses individually, if they were generated by a template or a macro or reflection you can just edit the definition of that thing and get the same result. I'm guessing Go is in the minimalist-syntax-and-heavy-IDE crowd, although the Go community seems to prefer to write their heavy automation as standalone tools (see: go fmt, go fix). Rust has a fairly impressive macro system, so I would have expected it to be a complex-syntax-and-text-editors language but the Rust authors seem very keen to have some kind of IDE support. Whether they believe Rust actually needs it, or if they just want to check off a commonly-requested feature, I don't know.
- merb 11y ago> Have you tried writing Rust and Go in a plain text editor and had problems, or are you a happy user of an IDE for another language and waiting for one to be available before you try them out? I tried both out, but I'm a Scala / Python User mainly and I loved the IDE's I have. Currently especially Autocompletion and my Shortcuts, like search Classes, Types, etc helped me on being productive. Also jump to definition is a feature I often use. Yes I could even use java without an IDE or Scala however it's not as comfortable and I feel that when I'm programming on an editor I spent a few hours a week tweaking it. While on a IDE i just replace 'some' shortcuts. Still I think even GO needs a better IDE, since the projects with a few lines are gone and even if you don't write as many lines as in java you still getting a pretty big codebase when you write something useful. Putting everything in his own library won't help / it will make the problem even scarier since you now need to remember a bigger import path. Rust is similar and still I love it despite the crates/modules system, since I think it has some rough spots. However they improve the docs regulary which makes things more clear, still it's hard while coming from python/scala/java to have a rust like import path.