News for hackers. Stuff that matters.
Re:Ask HN: Is there still a place for native desktop apps? by api on Sunday May 17, 2020 @05:58PM (#23215879)
It doesn't suck, but try Jetbrains IDEs. C++ and other "not JS" language support is vastly superior including refactoring that actually works.
Re:Ask HN: Is there still a place for native desktop apps? by nwatson on Sunday May 17, 2020 @06:13PM (#23215978)
Jetbrains IDEs (and others for that matter) provide so much more than the glorified text-editors, including extensive debugging support (both in my own code, library code, platform code), code-autocompletion, code navigation, code-formatting, refactoring, linting, static-analysis (works well for Python as well), great syntax highlighting, spell-check, a good plugin ecosystem. I'd never go back to editing code without that support.

The Jetbrains ecosystem is real cheap too, I pay US$160/year for the personal-license all-product suite I can install and use anywhere ... and I use PyCharm (Python), IntelliJ IDEA (Java et al), and Datagrip (DB) extensively, dipping into CLion (C++/Rust) as well ... but they have IDEs for many other languages and ecosystems as well. It's definitely a good deal.

Jetbrains suite, along with Docker, Atlassian SourceTree, and Homebrew (and connection to AWS/Kubernetes) are my main tools these days.

Re:Ask HN: Is there still a place for native desktop apps? by Groxx on Sunday May 17, 2020 @06:17PM (#23216003)
I keep periodically re-trying VSCode, but holy cow. It's a massive step down from a Jetbrains IDE, in every single language I've dev'd in.

Jetbrains stuff works, VSCode mostly handles the basics if it's possible to configure it correctly. Which is quite the achievement, and it's a very reasonable option and far better than much that came before it. But it's not where I want to spend my time if I can avoid it.

Re:Ask HN: Is there still a place for native desktop apps? by ninjakeyboard on Sunday May 17, 2020 @06:22PM (#23216046)
You're working with statically typed compiled languages tho. Once you try using a dynamic language you realize another editor is enough IMO. I use emacs for anything dynamically typed (including compiled languages like elixir) and intellij for scala/java.
Re:Ask HN: Is there still a place for native desktop apps? by thrower123 on Sunday May 17, 2020 @06:35PM (#23216144)
Webstorm or PyCharm isn't as good as IntelliJ or ReSharper, but holy hell is it better than just a text editor, even emacs.

I really don't understand why so many programmers proudly proclaim that they do things the hard way and wear that as a badge of honor.

Re:Ask HN: Is there still a place for native desktop apps? by squiggleblaz on Monday May 18, 2020 @06:37PM (#23229191)
Phpstorm compared to vim is like an oceanside resort compared to a walk in the desert without a water bottle. If there's not thousands of bugs I have prevented or discovered thanks to phpstorm, I am not surprised.

Jetbrains products are absolutely critical if you're using a dynamic, uncompiled language and to turn down the offer is professional misconduct even if it requires buying a new computer with more ram. I don't know who thought it's a good idea to pretend that a typo in one use of a variable is a legitimate expression of developer intent, but Jetbrains saves your users from that hell.

Re:Ask HN: Is there still a place for native desktop apps? by api on Monday May 18, 2020 @10:12AM (#23222532)
That's an old, old trope. "Real men" do it the way that takes 3X as long and yields code with more bugs.
Re:Ask HN: Is there still a place for native desktop apps? by Groxx on Monday May 18, 2020 @11:40AM (#23223784)
I feel like "tool use" follows roughly the same curve as a Gartner Hype Cycle, but without an upper bound on the right (as it implies a below-peak asymptote).

In the very beginning, less is often better, since the tool is prompting you with too many things you don't understand. Then you get past that point and you're massively more productive, since it's catching all your simple mistakes. Then you become disillusioned since it doesn't catch all mistakes, and you start learning in detail how it has failed you, and you just (╯°□°)╯︵ ┻━┻ the whole thing (the "real man" trough). And in the end you go back to sophisticated tools, as you realize a 70% solution can still give you magnitudes more productivity.

Re:Ask HN: Is there still a place for native desktop apps? by ninjakeyboard on Thursday May 28, 2020 @01:10PM (#23339767)
But the tooling on emacs or whatever is up to par. That was my original point, not that a plain text editor is a real man's way, just that it's good enough. PyCharm or whatnot isn't necessarily much better than what you can do in emacs, but it isn't portable to other languages or as flexible. A text editor like vi or emacs isn't much different than an IDE's functionality when looking at a dynamic language. It's a WHOLE DIFFERENT WORLD with scala though (IMO - that's arguable but refactorings etc aren't on parity with intellij), and I don't foresee myself ditching intellij for scala dev any time soon.

I remember showing a scala developer who was using sublime the "extract method" feature and some refactorings in intellij and he was like "HOW DOES IT KNOW ABOUT THE CODE THOUGH???" - the IDEs have great features, but they're less differentiating for dynamic languages as a lot of the OSS tools are just as good. Eg VS Code MS Python extension for example. It's just great.

Re:Ask HN: Is there still a place for native desktop apps? by Groxx on Sunday May 17, 2020 @06:29PM (#23216102)
It's miles better on Python and most javascript that I've touched (VSCode's ecosystem does tend to have more breadth, and if you're working on something that VSCode has plugins for but Intellij does not, yea - VSCode can be noticeably better for most purposes). Most commonly around stuff that requires better understanding of the structure of the language / project, like refactoring and accurately finding usages.

But yes, for many dynamic languages a fat IDE is less beneficial, especially for small-ish projects (anything where you can really "know" the whole system).

Re:Ask HN: Is there still a place for native desktop apps? by gsich on Sunday May 17, 2020 @08:08PM (#23216764)
VSCode is more editor then IDE.
Re:Ask HN: Is there still a place for native desktop apps? by fomine3 on Monday May 18, 2020 @03:58AM (#23219597)
The editor that most closest to IDE.
Re:Ask HN: Is there still a place for native desktop apps? by shp0ngle on Sunday May 17, 2020 @10:31PM (#23217615)
jetbrains stuff is written in java btw, for all languages. (when we talk about “native”/“not native”)
Re:Ask HN: Is there still a place for native desktop apps? by api on Monday May 18, 2020 @10:45AM (#23222948)
I don't care what it's written in.

Native UIs seem to matter more for small to medium size apps. Huge all-encompassing things like Blender, IDEs, etc. seem benefit from a unified, attractive, easy to use UI but it doesn't seem to matter quite as much that it's native. These things are intrinsically huge too so bloat matters less.

Re:Ask HN: Is there still a place for native desktop apps? by squiggleblaz on Monday May 18, 2020 @06:45PM (#23229258)
I don't think I agree with you; but I will accept that a cross platform toolkit is necessary because you cannot write three tools of the quality of one Jetbrains. But I think you could do the same in Qt with ~manual memory management and it would be significantly more efficient. Qt, I think, is less like Java and rather more akin to an alternative native toolkit (in much the same way that you can choose on X, "oh, I will use Gtk; I will use motif; I will use Qt", you can say the same on Windows "oh, I will use winapi; I will use WPF; I will use UWP; I will use Qt" or MacOS "oh, I will use Cocoa; I will use Qt"). It just happens to be provided by a third party so there's no OS lockin.

I have no problem getting more ram for a Jetbrains product, because they are cheap at the cost of a new laptop. But it would nice to find a 16 GiB laptop would be able to cope with my codebase, my web browser and my vm.

Re:Ask HN: Is there still a place for native desktop apps? by jhasse on Monday May 18, 2020 @01:00AM (#23218530)
Check out clangd or ccls for VSCode. They have refactoring that actually works (probably still rather basic when compared to Jetbrains IDEs).