• 0 Posts
  • 38 Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle
  • What’s the issue with public static main?

    And whats the issue with factories? Factories are a design pattern thats not specific to Java, I’d recommend you read the design patterns book and understand why they exist. I also have 0 factory useage stuck in my mind and I have been developing with java since 2016.

    OOP? It’s an OO language ffs, that’s like complaining that C isn’t OO. If you don’t want to use an OO language don’t use one.

    how much code you need to generate for some basic stuff

    Do you mean verbosity because thats only a complaint for people who dont need to maintain stuff long term. Or maybe you misused java for doing something simple where python would have sufficed.

    And then there is the springboot framework that makes shit trivial










  • With how shit youtube is I am not sure you made a great case for python mate.

    And every major tech company is using Python in their offline data pipelines

    Thats a meaningless statement, ETL tools can execute python as part of a multi step process and then yeah they use python in their data pipeline, but the ETL tool that orchestrates it is which is the actual value add software is not written in Python it’s written in Java, I know this for a fact…







  • But like, what kind of error are you gonna handle that’s coming from the DB, if it’s something like a connection error because the DB is down, then you are shit out of luck you can’t handle that anyway, and you probably shouldn’t, not from the layer you are calling your DB from, that’s a higher level logic, so bubbling Errors there make sense.

    and if it’s an “error” like findById doesn’t always return something, that’s what the Optional pattern is for.

    what you have described to me seems like a worse version of the checked/unchecked exception system.




  • I like this, I will contribute to this, I think a lot of Java haters in this thread fail to realize just how massive Java is compared to everything else.

    Rust might be the latest, hottest, bestest Java killer out there and it might be a completely superior language to Java, doesn’t matter, it’s dwarfed in terms of how many people actually use it for real projects, projects that should run for years and years. Even if Rust is the true Java killer, it’s gonna take a good few more years for it to kill java, measured in decades, there is just way too many projects and critical stuff out there that is running on Java, that means lots of jobs out there for java, still and still more.

    This means there are a lot of senior Java programmers out there with lots of years of experience to contribute to this project.

    Plus Lemmy itself having alternatives and choices is just a good thing.