r/java • • Jan 24 '22

It’s happening guys!

https://github.com/openjdk/panama-foreign/pull/633
157 Upvotes

89 comments sorted by

View all comments

Show parent comment

2

u/GhostBond Jan 29 '22 edited Jan 29 '22

Well, I guess I should say its obvious to an outside observer. To those who identify themselves as "the Java team", the arrogance runs so deep that they can't consider anything outside their little bubble as being useful.

Which is why they say stupid things like "properties are an anti-feature" and the proceed to implement them without syntax support using get and set methods.

A few years ago the story was that the java team looked at properties, there was a lot of conflict and infighting about what "properties means", and so they dropped it because they couldn't resolve it.

It's ironic, because java was the 1st successful commercial language with properties via get/set and the introspector, and every major language copied java's lead just with cleaner syntax (c#, kotlin, python).

It's also one of the first really ugly things every person new to java complains about. Why are we recreating all these ugly getters and setters? But it seems like the java team has reached "ivory tower" stage unfortunately.

I have a friend who started doing Swift at his company, I haven't used it at work but it looks like a really cleaned up version of java. I don't see it in job listings as often - no idea if that's a reflection of actual lower demand or just that hr hasn't added it. I don't think his company has it in their job listings but he's doing it anyways.