3 ms·
Lots of comments around code quality, primarily as it relates to testing. The real code quality sin here is that R, a vectorized-by-default language, is being
by jwilber 5y ago
Lots of comments around code quality, primarily as it relates to testing.
The real code quality sin here is that R, a vectorized-by-default language, is being used to employ for- and while- loops everywhere. It’s strange to see given the absolute plethora of R resources available aimed at avoiding just that.
But props to the economist for releasing the code, anyway. I’m a happy subscriber and will continue to be one.
- Redoubts 5y agoWell, they only started using R a year or so ago, so they can be forgiven. > Until fairly recently, we were less comfortable with statistical software (like R) that allows more sophisticated visualisations. https://medium.economist.com/mistakes-weve-drawn-a-few-8cdd8a42d368 https://medium.economist.com/mistakes-weve-drawn-a-few-8cdd8...
- jwilber 5y agoThat makes it even more strange, as all modern (ie within last 5 years) resources push the tidyverse.