semester-biology icon indicating copy to clipboard operation
semester-biology copied to clipboard

Appending parentheses to function names in assignments

Open andrewmarx opened this issue 4 years ago • 1 comments

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?

andrewmarx avatar Oct 12 '20 18:10 andrewmarx

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

ethanwhite avatar Oct 12 '20 18:10 ethanwhite

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

ethanwhite avatar Oct 04 '23 13:10 ethanwhite