News for hackers. Stuff that matters.
Re:Gnirehtet rewritten in Rust by solidsnack9000 on Sunday September 24, 2017 @05:59PM (#15326706)
> ...the first example "encapsulation" demonstrates exactly no encapsulation.

It demonstrates a kind of getter, but a weird one since it returns a mutable field. These are not the most encapsulated thing.

There are no comments on this comment yet.