I don't think many Java developers manually write setter methods. I still do tha...
johanvos @johanvos@mastodon.social
I don't think many Java developers manually write setter methods. I still do that often. Of course I can ask my IDE (NetBeans) to generate the code, but I often prefer to type it out manually (slower), so my brain gets a better understanding about what is actually in the Object. And understanding is key.
At school, I used to write entire courses on scratch paper, especially mathematical proofs. That helped me understand what I was doing.
Copying AI-generated code is less helpful imho.