unconf18 icon indicating copy to clipboard operation
unconf18 copied to clipboard

teach clean code principles with examples in R

Open czeildi opened this issue 6 years ago • 5 comments

Writing clean code is important for efficient work in every programming language. However, most of the resources available (at least what I encountered so far) contain examples in primarily object oriented languages making it less accessible for R programmers who are not software engineers.

Clean code makes it easier to collaborate, to avoid bugs and write working code faster. It also helps with understanding code written by others.

I envision a blog post series / bookdown with the relevant principles adopted from the Clean Code book with examples in R, focusing on every day R users and not necessarily those writing production R code. (i.e. do not mention error classes or R6 classes but focus on the most common use cases)

See:

czeildi avatar Apr 19 '18 20:04 czeildi