Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
gonzo41
4y ago
0 comments
Share
Alternatively you could just make a final class with public member variables and no getters/setters and just treat it like a struct.
undefined | Better HN
0 comments
default
newest
oldest
ratww
4y ago
That's a great point, there's absolutely nothing wrong with public members if you only want a simple struct.
j
/
k
navigate · click thread line to collapse