Lysergid

joined 1 year ago
[–] Lysergid@lemmy.ml 7 points 1 week ago

What is crazy is that Mac version is more stable than windows in my experience. Still shit, though

[–] Lysergid@lemmy.ml 0 points 1 week ago

I think you forgot to pollyfill your console.log and now you have some error in some script in some callback

[–] Lysergid@lemmy.ml 1 points 1 week ago (1 children)

It’s not corporate world, it’s web. Spring de facto is the only modern way to build web services and integrations in Java and Spring comes with DI because it’s the way to build efficient extendable framework.

[–] Lysergid@lemmy.ml 28 points 1 week ago* (last edited 1 week ago) (2 children)

95% exaggeration. Here is reality:

  • yeah you need main class coz it’s OO-language. Though, not required anymore, which should’ve been done once Java got scrip language capabilities (jshell) back in JDK 9. But as of today not required anymore
  • imports exist in most if not all languages. Gotta be insane writing them manually in 2010 let alone 2024
  • installing Java runtime (JRE) is as simple as installing any app. Though for installing JDK you need 5 mins for setting PATH. Think about JDK as like TSC or Webpack and JRE as a Browser. I’d argue installing and configuring JDK is simpler than TSC or Webpack
  • Unless you doing some non-trivial multi-threading your stack trace will tell you exactly where is your NPE. You gotta be as blind as my teammates to spend more than 1 minutes to find where it is coz it literally tells you file and line numer where Exception occurred
  • I mean, yeah if you use IDE from 2000 it will look like it. IntelliJ looks modern, though I don’t like the fact latest versions look like VSCode
  • I hardly reach 3G of deps from all 10 projects I have on my workstation.
  • IDK what anon means by ecosystem here, Java ecosystem is quite standard across the board. JDK(std lib), Maven/Gradle(deps, build, publishing), Spring Framework (all sorts of blueprints and solutions to standard app level problems), Hibernate/JPA (ORM), JUnit+Mockito (testing). These are tools and libs used in 90% of projects I worked on. Of course there will be more depending on project needs. Layers? It’s not like language imposes any layers whatsoever. It’s just common practice to have 3-4 layers and some glue in-between.
  • don’t do GUI in Java it sucks and will suck until Java gets string interpolation. Hopefully soon
  • concurrency is actually the only thing which is really bloated in Java. Which will change with next LTS version if I remember correctly. And it’s not that hard if you actually read the f manual and not just “try and hope”. Again it will become much more efficient and easier to follow soon. As of now - yeah, not trivial. But people mostly prematurely optimize, so karma
  • Java is kinda have 20 ways to do same thing but actually no. Java built with idea of providing simple building blocks. Then it provides more specific API built on top of those building blocks. It allows to have API which solves typical problems and provides capability to solve custom problems with those building blocks. People often confuse this as many ways to do one thing but it’s like saying “I can have byte array why I need string data type”. Those are different levels of abstraction

Edit: typos

[–] Lysergid@lemmy.ml 17 points 1 week ago (1 children)

I guess naming it NullReferenceException will revolutionize industry

[–] Lysergid@lemmy.ml -1 points 1 month ago

I’m not dying, or was that a joke? Then you are bloody stupid

[–] Lysergid@lemmy.ml -2 points 1 month ago (2 children)

Do you take everything written on internet literally?

[–] Lysergid@lemmy.ml 3 points 1 month ago (4 children)

While I agree that if you are dog shit you can not expect people wanting to be with you. But your judgement is one-sided. Entertainment also made people believe every successful, jacked, Hollywood star wants to be with average Jane coz she is princess. Not all problems of zoomers created by zoomers

[–] Lysergid@lemmy.ml 23 points 1 month ago

I mean, mom could be right. Maybe there’s a rule on router to block Fortnite servers after 21:00. She just doesn’t tell that she the one turning it off

[–] Lysergid@lemmy.ml -1 points 1 month ago (1 children)

He just applied Russians’ favorite soviet era saying “those who is not with us is against us”

[–] Lysergid@lemmy.ml 3 points 2 months ago (3 children)

That was my first thought, but is that much different for say Tesla. They get tax breaks and pay as low as they can. Don’t get me wrong I not protecting China’s way, I’m rather against both. But it would be interesting to see numbers from both sides

[–] Lysergid@lemmy.ml 0 points 3 months ago

removed, stop buying your metal scrap and pay your devs. I wanna play Marathon this century

view more: next ›