Prefer Array#at over Array#[] when possible