News for hackers. Stuff that matters.
Re:Why is it difficult for developers to learn another progr... by ecf on Wednesday March 09, 2022 @06:11PM (#30621214)
An example of this for me is Kotlin and the JVM.

Kotlin is great! I enjoy it a lot and am having a fun time ramping up for my new role. But the entire Java ecosystem is a dumpster fire, and I abhor Gradle/Maven/Intellij.

It would take me an entire weekend to try to configure Sublime Text or another lightweight plain-text editor to work with Gradle to even build the project, let alone any language server features like code suggestions and debugging.

Re:Why is it difficult for developers to learn another progr... by prepend on Wednesday March 09, 2022 @06:17PM (#30621264)
You’re the first person I’ve ever heard to hate IntelliJ. I really like it as an editor and would use it if it was free (instead I use VSCode).

What do you dislike about IntelliJ?

Re:Why is it difficult for developers to learn another progr... by eddieh on Wednesday March 09, 2022 @06:32PM (#30621401)
I hate IntelliJ too. I don’t like any IDE for that matter. Emacs is muscle memory and nothing can emulate how it works properly. Emacs is so much more than it’s keybinding, yet that’s the only thing IDE/text editors attempt to emulate—and they never even get that right.
Re:Why is it difficult for developers to learn another progr... by DonHopkins on Thursday March 10, 2022 @05:51AM (#30625477)
Emacs was originally designed to work perfectly well with type-ahead over 300 baud modems and slow ARPANET connections, so it doesn't fuck you when you type ahead, while so many IDEs love to pop up menus that gobble and drop keystrokes and then insert random crap you didn't want (like fuzzy matched symbols and multi-line boilerplate) unless you stop typing and patiently wait for it to finish thrashing the disk and painting the screen with animated menus, and then after it finally comes to a complete stop, you have to focus your attention on the screen and visually scan through the menu and hit the arrow keys repeatedly to re-select what you already typed, or hit escape to get rid of the menu and finish typing what you really meant (while slowly popping up even more menus with pointless animation every few keystrokes). And of course escape does something completely different if there isn't already a menu popped up, usually quite disruptive, so don't ever type ahead any escapes!

IDEs should not punish you for knowing what you want to say and typing it quickly. They should be DETERMINISTIC, and you should get the EXACT same results no matter how many milliseconds of delay you wait between each keystroke, and you should always be able to insert something by typing it literally at any speed, without pausing and waiting then focusing your visual attention on the screen and then finally pressing other buttons to use the menus.

Re:Why is it difficult for developers to learn another progr... by ecf on Wednesday March 09, 2022 @06:40PM (#30621449)
Example: It took me two hours today to figure out why “Format on Save” wasn’t working.

Turns out, Intellij’s “Actions on Save” are only triggered when a “Save All” (option-command-s) is issued, and ignores any other type of save like good-ole command-s.

Re:Why is it difficult for developers to learn another progr... by vrnvu on Thursday March 10, 2022 @02:29AM (#30624125)
Over the years the performance has decreased... exponentially. It is pure craziness that indexing a project takes almost a minute or even more. It's full of env bugs and configuration issues that the developer team seems to not care about. Features > Usability from the marketing point of view :P

Nowadays, given the state of LSP implementations and editors being as flexible as VSCode i.e it's hard to justify the need for an IDE... In general.

I usually use nvim or VSCode (if I collaborate with someone) for other languages. Every time I have to work on a Java project, and I have to open IntelliJ... I know it's going to be a nightmare.

Re:Why is it difficult for developers to learn another progr... by watwut on Thursday March 10, 2022 @02:10AM (#30623954)
> What do you dislike about IntelliJ?

It is weaker IDE in terms of what it does. Eclipse is older, look uglier and strictly superior unless you work on some kind of super large project where it is breaking.

Re:Why is it difficult for developers to learn another progr... by anothernewdude on Wednesday March 09, 2022 @07:15PM (#30621706)
Intellij refuses to use my working maven config, and requires horrible plugins to work with some things like javax.
Re:Why is it difficult for developers to learn another progr... by clearcoat on Wednesday March 09, 2022 @06:30PM (#30621379)
IntelliJ Community Edition is free. I don't use the paid version so I'm not sure what I'm missing.
Re:Why is it difficult for developers to learn another progr... by azth on Wednesday March 09, 2022 @08:53PM (#30622384)
Nothing else comes close to the Java ecosystem, it's one of its great advantages.
Re:Why is it difficult for developers to learn another progr... by grumpyprole on Thursday March 10, 2022 @01:41AM (#30623818)
In terms of a culture of over-engineering, yes, it is second to none. In Java land, even a logging library can be a serious security vulnerability. A typical Java project pulls in half the internet for dependencies, including multiple logging libraries.

Java is therefore somewhat a victim of its own success. There is no absolute "best" as you seem to suggest. Every ecosystem has pros and cons.

Re:Why is it difficult for developers to learn another progr... by hkt on Thursday March 10, 2022 @05:08AM (#30625193)
> A typical Java project pulls in half the internet for dependencies, including multiple logging libraries.

Rationalising a language's ecosystem is harder than building one. I suspect that this drives at least some new language adoption.

Re:Why is it difficult for developers to learn another progr... by azth on Thursday March 10, 2022 @02:25PM (#30631285)
Sounds like FUD
Re:Why is it difficult for developers to learn another progr... by grumpyprole on Thursday March 10, 2022 @03:17PM (#30631871)
I've done years of Java dev at many large corporates, so there's no uncertainty. Plenty of fear and doubt though. The language is getting much better, let's hope the ecosystem does too.
Re:Why is it difficult for developers to learn another progr... by azth on Friday March 11, 2022 @06:31PM (#30647433)
Any language at a large corporation (without proper software engineering practices) would end up that way. My current employer uses golang, and you wouldn't believe the @)%(* they came up with. Such as an entire framework that spits out 80+ line stack traces for errors and panics.