SyntaxFix
Write A Post
Hire A Developer
Questions
Using properties is to me more intuitive and fits better into most code.
Comparing
o.x = 5 ox = o.x
vs.
o.setX(5) ox = o.getX()
is to me quite obvious which is easier to read. Also properties allows for private variables much easier.