datacarpentry / semester-biology

Forkable teaching materials for course on working with data in R
http://datacarpentry.org/semester-biology
Other
76 stars 111 forks source link

Appending parentheses to function names in assignments #896

Closed andrewmarx closed 1 year ago

andrewmarx commented 4 years ago

In general, when writing comments or documentation about code, I like to append parentheses to function names (.e.g, read.csv() instead of read.csv) as way to help distinguish variables from functions. A quick look at a couple lessons shows that this practice is more or less followed there, but that it is not done for assignments. Are there any objections to me updating assignments so that function names follow this practice?

ethanwhite commented 4 years ago

Go for it. That was our explicit style decision when we started and consistency is important for learning, so yes very much appreciated.

ethanwhite commented 1 year ago

Closing as not a top priority, but if someone wants to reopen and work on this they are welcome to.