!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

121 Members
27 Servers

Load older messages


SenderMessageTime
17 Jul 2025
@msgilligan:matrix.orgmsgilligan I'm guessing there's code in Nixpkgs that still deals with the 1.8 versioning for Java 8... 23:41:10
@softmoonworld:matrix.org@softmoonworld:matrix.orgoo i should take a look at that and see if i can imagine the history23:41:33
@msgilligan:matrix.orgmsgilliganJava 17 is a good version to start with. The newer you can use, the better. They've really made dramatic improvements from 8 (aka 1.8) to 25 and seem poised to continue the good work.23:43:00
@msgilligan:matrix.orgmsgilliganAnd part of the (historical) problem(s) with Java was that there were some really bad "enterprise" programming patterns that infected the ecosystem. They weren't required by the language, but they were ubiquitous.23:44:22
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️ See also FizzBuzz Enterprise Edition 23:45:08
@msgilligan:matrix.orgmsgilligan OutputGenerationContextVisitorFactory oh yeah! 23:47:10
@msgilligan:matrix.orgmsgilligan import com.seriouscompany.business.java.fizzbuzz.packagenamingpackage.interfaces.visitors.OutputGenerationContextVisitor; 23:47:35
@msgilligan:matrix.orgmsgilligan

@moon, if you'r the book-reading type you might look at:

  • https://www.manning.com/books/modern-java-in-action
  • https://www.manning.com/books/the-well-grounded-java-developer-second-edition
23:51:08
@msgilligan:matrix.orgmsgilligan"Modern Java in Action" is excellent, though getting a little bit dated since it was written in the Java 9/10 era.23:51:48
@msgilligan:matrix.orgmsgilligan"The Well-Grounded Java Developer" is more modern but jumps around between topics a little. It includes coverage of Clojure and Kotlin which may or may not interest you.23:52:39
@msgilligan:matrix.orgmsgilligan *

@moon, if you're the book-reading type you might look at:

  • https://www.manning.com/books/modern-java-in-action
  • https://www.manning.com/books/the-well-grounded-java-developer-second-edition
23:55:19
18 Jul 2025
@softmoonworld:matrix.org@softmoonworld:matrix.org Oh I am! Thank you for the recommendation msgilligan . these look really helpful. 00:02:25
@softmoonworld:matrix.org@softmoonworld:matrix.orgI think the well grounded developer sounds like the perfect book since i have to clean up and modernize and move things over to kotlin slowly00:04:25
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️I wish I could like Kotlin00:04:41
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️But alas Conflict of Interest: The Language00:04:54
@msgilligan:matrix.orgmsgilliganAnd if you're looking for an absolute beginner book, "Java in a Nutshell" was great. (Don't ask me what version Java was at when I first read it 🤣 -- but I've looked at the updated versions they're good too -- they finally realized there was this thing called "the internet" and got rid of the reference section)00:05:12
@softmoonworld:matrix.org@softmoonworld:matrix.orgwhat don't you like about kotlin? i haven't really written it. only clojure 00:05:17
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️Since it's made by a company that also produces IDEs, it has pretty abysmal support outside of IntelliJ, and they have little motive to improve it00:05:52
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️If it weren't for that, I'd like Kotlin00:05:59
@msgilligan:matrix.orgmsgilliganI like Kotlin, but I avoid using it in libraries because it drags in the Kotlin Standard Library as a dependency.00:06:33
@msgilligan:matrix.orgmsgilliganI'm a happy/paying IntelliJ user, but I've heard Kotlin support elsewhere is improving. And you can install IntelliJ Community (and the licensed version too) with Nix if you want.00:07:30
@softmoonworld:matrix.org@softmoonworld:matrix.orgohh yeah i can't stand corporate languages at all. i don't like having to commit to anything that disconnects me from everything else00:07:54
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️ I'm fully aware I can use IntelliJ, I very specifically don't 00:07:56
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️However Kotlin is only truly supported by IntelliJ, which makes it untenable for me00:08:09
@msgilligan:matrix.orgmsgilliganOh yeah, and Kotlin has bootstrappability issues (along with Gradle) that are keeping Debian Gradle back at Gradle 4.4 (with so many patches that it's known as "FrankenGradle")00:08:45
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️I haven't tried it since I was using Doom Emacs (I've since switched to Neovim), but it was such a pain trying to get it to work that I instead decided to rewrite everything Kotlin in the template I was trying to use to Java, before later deciding "That isn't worth it" and starting from scratch00:09:22
@msgilligan:matrix.orgmsgilliganAnd Java has adopted many of Kotlin's improvements and appears to have narrowed the gap. For me, the biggest thing I miss from Kotlin in Java is operator overloading (for numeric types) but I think we'll start to see that in Java in 2-4 years.00:11:18
@msgilligan:matrix.orgmsgilliganOne of the things I want to do with Nix is learn how to set up a souped-up version of Neovim with LSP server(s) etc.00:14:26
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️Nixvim might be up your alley :)00:16:42
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️I know there is another similar project, but Nixvim is what I use00:16:55

Show newer messages


Back to Room ListRoom Version: 6