It's recommended to pass primitive types by value (see e.g. [this](http://stackoverflow.com/a/17133906/1525865))