this post was submitted on 04 Nov 2023
96 points (86.4% liked)

Programming

17509 readers
8 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] onlinepersona 6 points 1 year ago (11 children)

I agree, typing is not a bottleneck, repeating yourself is. All that boilerplate code in the example, shouldn't have to be written. It's wasted time.

[–] philm 1 points 1 year ago (10 children)

The curse of OOP (java style...).

I mean why do you need to write getter and setter methods. I have wondered at the beginning of university 10 years ago, and am still wondering why you would need something like that...

[–] [email protected] 1 points 1 year ago (2 children)

I write Java for a living and the places I’ve worked have used Lombok to cut down on the boilerplate code

[–] philm 1 points 1 year ago (1 children)

My condolences, haha (I'm honestly not a big Java lover ^^).

[–] [email protected] 1 points 1 year ago

It’s not so bad. I’m just a lowly webdev and my work with Java is mostly just basic CRUD operations

load more comments (7 replies)
load more comments (7 replies)