Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Getters and Setters

No doubt that the first thing we need is being able to provide accessors and setter methods. While in application development these are the recommended way to expose inner data to the public, the low-level code would highly benefit from avoid them – but, still, there will be cases where the matters of code safety would require us to provide such methods.