3 ms·
If it truly a matter of readability, then it really isn't a nitpick. If it is a matter of "I think doing X is slightly better than doing Y, and if you start doi
by seanmcdirmid 3y ago
If it truly a matter of readability, then it really isn't a nitpick. If it is a matter of "I think doing X is slightly better than doing Y, and if you start doing X rather than Y, that would improve things somewhat", then it is a nit.
To put it this way, you should use Kotlin vals with get methods with getters rather than fun getXXX() functions, but this is controversial, so I always suggest it as a nit (Nit: maybe use val xxx get() = ... rather than fun getXXX() = ...).