![]() Go as usual went for the simplest possible solution for the problem (which is fine! It does save a lot of time to not have to learn and play with build tools!). but now they have go.mod is somewhat more "standard", as found in other languages). Until recently there was no "official" way to manage dependencies, you just had to do "go get" manually and put all your projects in GOPATH (really, this is how it's worked until a year or so ago unless you did something non-standard. Regarding Go: no idea why anyone would claim Go to have a good story here. with Gradle, the very opaque API, together with having to know another language (pick Groovy or Kotlin) is not very good either. with Maven, the amount of XML you need to write just puts people off right from the start. I think it's simply because the first impression you get with Cargo is that it just works. Why do people generally say Cargo is awesome but normally treat Maven and Gradle with disdain? Tough question. doing this actually brings you closer to Gradle!! If you need to do anything more advanced, though, you need to write a Rust build file and use a build API. ![]() Cargo takes care of compiling/linking/configuring/testing your code, so it's more similar to Maven than Gradle, but using a very lightweight syntax, TOML, instead of XML! Even though rustc can work without it, basically every Rust project is Cargo-based. Rust's advantage is that it has Cargo as THE build solution for all your Rust issues. I'm a heavy Gradle user, and used Maven for many years before that. On the other hand, even with different tools, it would be hard to move away from some of the core issues since everything is in central with POM as the metadata format SNAPSHOT versions being installable/deployable is difficult to reason aboutįortunately maven has been pretty well maintained and as the defacto tool, at least you can learn its idiosyncrasies and move on with your life. I’ve always found the way multi-module builds work to be a bit surprising You have dependencies, managed dependencies, POM inheritance, reactor (multi-module) dependencies, and then all the transitive application of the same rules. ![]() By this I mean the logic which decides what versions of what jars get added to various classpaths in what order. The overall “class path” story is too complex. Partially the fault of the fact that the POM is mutable during runtime, so execution order even within a phase can become relevant It makes a good attempt at declarative builds, but the plug-in ecosystem often has to deviate from this to get certain jobs done There are some core things about Maven that I think could be better. I don’t think Maven 2+ is horrible, especially compared to the tools it replaced. Learn Programming Java Help ← Seek help here Learn Java Java Conference Videos Java TIL Java Examples JavaFX Oracle JVM LanguagesĬlojure Scala Groovy ColdFusion Kotlin Want to practice your coding?ĭailyProgrammer ProgrammingPrompts ProgramBattles List of useful Frameworks / Libraries / Software If you have any questions, please do not hesitate to ask them! Related Sub-reddits: Some vendors will be supporting releases for longer than six months. If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others:Īdoptium (formerly AdoptOpenJDK) RedHat Azul Amazon SAP Liberica JDK Dragonwell JDK GraalVM (High performance JIT) Oracle Microsoft With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. ![]() Join us on IRC #reddit-java Where should I download Java? No surveys, no job offers! Such content will be removed without warning.No programming help questions here! These should be posted in /r/javahelp.Do not post tutorials here! These should go in /r/learnjava.Upvote good content, downvote spam, don't pollute the discussion with things that should be settled in the vote count. Please seek help with Java programming in /r/Javahelp! Subreddit rules! These have separate subreddits - see below. Submit Link Submit Text Seek Programming Help News, Technical discussions, research papers and assorted things of interest related to the Java programming language NO programming help, NO learning Java related questions, NO installing or downloading Java questions, NO JVM languages - Exclusively Java
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |