Y
Hacker News
new
|
ask
|
show
|
jobs
by
gonzo41
1771 days ago
Alternatively you could just make a final class with public member variables and no getters/setters and just treat it like a struct.
1 comments
ratww
1771 days ago
That's a great point, there's absolutely nothing wrong with public members if you only want a simple struct.
link