DEV Community

Discussion on: JAVA WITH NOTEPAD

 
amritanshu profile image
Amritanshu Dev Rawat

Nice.

Thread Thread
 
baenencalin profile image
Calin Baenen

I know this is off topic, but, whatever fucking happened to it just being the language, and the tools the language provided to you when you installed it (i.e. the command line tools).

Now, for things like Java, we have Maven, Gradle, and this other BS I just don't get the purpose of having.

Thread Thread
 
thefern profile image
Fernando B 🚀

Those tools are for libraries/package management, pretty much all languages have them. Python=pip, Javascript=npm, Java/Kotlin=Maven/Gradle, ObjC/Swift=Cocoapods, and so on. Essentially you write a dependency file with all the packages you need, and then sync. These tools will download everything for you. So if you need 10 jar lib files, it will be done for you without you having to manually download each jar and configure it in the project settings path. They might look like BS at first, but once you learned their purpose you'll never go back to manual downloading of libs.

They really matter when you have a big project, and you don't want to reinvent the wheel if a library is already built.

Thread Thread
 
baenencalin profile image
Calin Baenen

What about compiling/running. That (by itself, not accounting for libraries) should be done through the langs VLI, right?

No? Why the fuck not, that's how it USED to work, and I still need to catch up, so let me use my "cave man" methods.