rufus, (edited )

And one of them is Java?

BeigeAgenda, (edited )
@BeigeAgenda@lemmy.ca avatar

Yes Java, Scala, Kotlin, Jython and Perl

whoisearth,
@whoisearth@lemmy.ca avatar

Of course Perl is in there lol

jaybone,

Whatever you do in perl, I can do in PL/SQL.

BeigeAgenda,
@BeigeAgenda@lemmy.ca avatar

I would rather use pgsql or tsql instead of PL/SQL, mostly because of oracle.

tinyVoltron,
@tinyVoltron@lemmy.world avatar

What about Groovy?

BeigeAgenda,
@BeigeAgenda@lemmy.ca avatar

Forgot about that one, even if I just worked on a Jenkins script 🙄

invertedspear, (edited )

One project I worked on had 10 different languages. That was rough. But even your basic full stack web application is usually 5 languages: SQL, a backend language, HTML, CSS and JS. Usually some wheel reinventing frameworks thrown in for good measure. 5 languages is light these days.

agressivelyPassive,

And don’t forget the CI “language” plus a bunch of bash scripts, Helm, Kubernetes, etc.

mctoasterson,

Probably a bunch of hacked together Python to copy stuff between fileshares. Bonus points if it runs with a .bat file and a Windows scheduled task.

humbletightband,

Without Ansible or Terraform? What about SQL specific for each rdbms?

CodeMonkey,

I work in Java, Golang, Python, with Helm, CircleCI, bash scripts, Makefiles, Terraform, and Terragrunt for testing and deployment. There are other teams handling the C++ and SQL (plus whatever dark magic QA uses).

EmilyIsTrans,
@EmilyIsTrans@lemmy.blahaj.zone avatar

Just use Kotlin

treechicken,
@treechicken@lemmy.world avatar

This is literally how this all started for us lol. Senior wanted to try to migrate everything to Kotlin in our project. Migration never finished. Now one of our major repos is just half Kotlin half Java. Devs on our team learn Kotlin by unexpectedly encountering it when they need to touch that code.

monsieur_hackerman,

Maybe it’s because I know both languages but is that really a big issue for people? The interop is great, and kotlin is very readable, so the cost of context switching between the two is miniscule.

Some people have an extreme aversion to learning new things though. I feel that holding yourself to the standards and limits of your lowest performers isn’t a great thing.

mstrk,

Doesn’t Kotlin has interoperability with Java? I didn’t used it much yet but I’m about to in a few months. Is it that difficult to just refactor things to Kotlin when you need to change something in the project? I’m asking because I just can’t work with verbose languages and would prefer Kotlin to Java everyday.

treechicken,
@treechicken@lemmy.world avatar

The interoperability is both a blessing and a curse imo since it let us half-ass the integration by leaving a bunch of Java code unconverted. I could start refactoring everything but then my team would stop reviewing my PRs due to the diff size (and then my manager would eventually find out that I’ve been using up work time doing this instead of shipping features during crunch week).

I really much prefer Kotlin to Java. I just wish my team had actually had a commitment to it instead of just sorta using it with no migration plan.

masterspace,

Sounds like you’re making progress, your devs are slowly learning a better language that will let them work faster and will soon be able to help port the rest of the codebase and then you can really accelerate when no one needs to touch or know Java.

treechicken,
@treechicken@lemmy.world avatar

I really hope so. Last code I reviewed was full of !! and companion objects trying to emulate Java static instead of top-level consts. Even I’m still trying to figure out what idiomatic Kotlin looks like. We got a ways to go…

force, (edited )

Just use Scala*** ((objectively better language¹))

  1. scala does not support breaking out of loops, it does errors on early returns, uses parentheses for array indexing, compiles extremely slowly, …
ShadyGrove,

Just use Clojure****

frauddogg,
@frauddogg@lemmygrad.ml avatar

The XKCD Standards comic writ large. There are 17 competing standards. -> “Hey, we should make a standard to unite all these disparate standards.” -> There are now 18 competing standards.

surge_1,

Skip step 3, and just switch to Kotlin. Worked wonders for Android

GissaMittJobb,

Yes indeed, and it feels really good.

sabreW4K3,
@sabreW4K3@lazysoci.al avatar

Is Kotlin bad?

surge_1,

Kotlin is the tits

swordsmanluke,

Kotlin is Java with all the suck taken out.

It’s a modern, ergonomic language that runs on the JVM and removes as much GD boilerplate as it can.

It’s fantastic.

sabreW4K3,
@sabreW4K3@lazysoci.al avatar

Sorry, one more question. What does ergonomic mean in regards to programming languages?

swordsmanluke,

Lots of little quality of life things. For instance, in Kotlin types can be marked nullable or not. When you are passing a potential null into a non-nullable argument, the compiler raises an error.

But if you had already checked earlier in scope whether or not the value was null, the compiler remembers that the value is guaranteed not to be null and won’t blow up.

Same for other typechecks. Once you have asserted that a value is a given type, you don’t need to cast it everywhere else. The compiler will remember.

sabreW4K3,
@sabreW4K3@lazysoci.al avatar

Ooh, thank you

AeroLemming,

with all the suck taken out.

You still need Gradle, so not all the suck.

moomoomoo309,

kotlinlang.org/docs/maven.htmlThat’s not true, you can use Maven if you want!

AeroLemming,

I’m not a huge fan of Maven either. I guess I’m just spoiled by Cargo.

moomoomoo309,

Cargo is really simple, which is great, but also limiting. Maven is much more complex, but for good reason - there’s use cases, especially around multi-artifact projects and version sharing, where cargo would require either some glue or you run into some interesting edge cases. Usually, Rust isn’t used for the kinds of big, wacky projects with a million dependencies that companies write in Java/Kotlin, so those kinds of use cases are considered more unusual.

Gradle, in my opinion, makes itself complex because it’s all code, is very brittle, and several of its features just don’t work right and require workarounds. When it works, it builds fast and it works well, but getting it to work, and how often you have to get it to work again…not worth it.

AeroLemming,

That’s interesting, thanks

abbadon420,

Java is great if you actually want to earn a living.

skulbuny,
@skulbuny@sh.itjust.works avatar

True, but functional languages are great if you want to live comfortably.

survey.stackoverflow.co/2023/-salary-sala…

CanadaPlus,

Difficulty of finding such a job not shown.

swordsmanluke,

That one dude still using Delphi is getting screwed.

Also, these salary numbers seem… real low. I get that it’s the median so maybe a huge number of overseas engineers are pulling the results down but in my neck of the woods 105K is less than what we pay juniors.

Sendpicsofsandwiches,
@Sendpicsofsandwiches@sh.itjust.works avatar
abbadon420,

Could you have picked any creepier clown foto? Lol

agressivelyPassive,

That’s almost comically besides the point of the comment.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programmer_humor@programming.dev
  • DreamBathrooms
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • tacticalgear
  • JUstTest
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • megavids
  • lostlight
  • All magazines