Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on piefed.social

43 replies

lemmy.world

Maturing is realizing that java is a good language that gits the job done and has great balance of simplicity, expressiveness and speed, and JVM is a very good ecosystem. The main issue is that it's owned by Oracle. But I guess it's better than google atleast.

I prefer Clojure on the JVM 10/10 tho.

33
sh.itjust.works

Learning clojure in uni for AI (not the kind we call AI now though) was so much fun. I wish I had more reasons for me to have kept up with it.

2
dismay3915reply
lemmy.world

Fully viable option today. I make money with it. And was never hired as a "Clojure dev" . We need to do X, I find that clojure is great for X, and start creating.

2

C# is just too easy for me now (which is also what I use at work) but maybe one day I'll have a hobby project I can use as a way to dip my toes back into clojure.

2
pawb.social

personally i prefer systems that support basic features like operator overloading, multiple inheritance, and unsigned integers

1

Great. Clojure does all of that, although it eliminates the need to use them often.

1

No not really. It combines the worst of all worlds. Working with it is a slog, and it's mostly used in shitty corporate jobs.

13
lemmy.world

I'm making more money slinging C++, C, and Assembly than I was with Java.

7
db2reply
lemmy.world

"C is old and outdated, it isn't safe, nobody uses it anymore, nobody will hire you"

🤣

8

All of our chip vendor's code is in C, and it's fully certified, so the entire hardware integrity stack is C. Less flaky and far leaner than the C++ applications in the HLOS.

11

Kinda dead language outside of corporate maintenance. There's really no reason to use Java when Kotlin and all other flavors exist.

2

.war huh? Yeah! What is it good for?

Cutting quarterly expenditures by delaying expensive infrastructure migrations that would save money in the long run!

5
lemmy.world

Java is weird and I don't like it. It's the go-to language to learn as a first programming language in school and university, but the kind of Java that is actually used in corporate jobs, with all the weird frameworks and libraries, is so far removed from school Java that it feels like a whole different thing. Maven is weird and confusing and I don't get it (but I'm perfectly fine with Php's Composer and JS npm/yarn). And I have yet to come across any sort of real life problem where OOP is a better solution than Functional Programming.

9
piefed.social

I'm not entirely sure what you want to say, but Gradle utilizes Maven repositories.

So if you need to use maven, consider not using maven.

And if you're trying to use dependencies, it doesn't really matter where you get them from. NPM is as useless as NuGet, as Maven and every other one.

Okay, NPM might be even worse.

1
piefed.social

Java as first programming language? My first programming language in school was Terrapin/MS Logo (that thing with the turtle) and then Python, IIRC.

And yeah, Maven is an absolute pain. My last workplace used it and it makes me extra glad that I don't work there anymore.

I'm more partial to OOP, though. I just find it easier to organise data and functionalities by class/object and not make a mess that way, I guess. Plus, I mainly do gamedev/adjacent stuff these days, which largely seems to be object-oriented, at least when it comes to the most popular engines.

1
lemmy.world

Logo! 90 R 10 L 10 L 10 L (I'm sure that's not how it was written but it's how I remember it).

2

Had to look it up because it's been a LONG while, it's actually RT 90 and LT 10.

I remember trying (and failing) to make games with this thing

2

Kotlin can be great, but the amount of syntactic sugar available very easily baits undisciplined devs into writing very concise, wholly incomprehensible code. I’d pick it for a project where I know and trust every dev who will work on it, but not for something that might get a lot of touches from a lot of people.

2

It's by definition not slander if it's true.

Given that fact, slander about Java is exceptionally rare 😉

5

If I have to target the JVM, Clojure > Kotlin > Scala >>>>>>>>>> Java.

3

I tried, over and over for more than twenty years, but I still hate it. Anything but Java, I'll even take COBOL with a rusty spoon instead.

3

You reached the end