Skip to content

Dots in function names

1 message · Philippe GROSJEAN

#
Mike Prager wrote:
For sure, for "writing functions that will have limited distribution", 
you can choice the convention that best suits you! Otherwise, the dot in 
functions poses other problems with S3 methods in situations like syntax 
highlighting and automatic code inspection. It is clear that everything 
would have been a lot easier if the dot was *only* used for S3 methods 
constructs. This is not the case. Nobody can change it now, and S4 is 
there that solves the problem in a different way. So, we leave pretty 
well with it until now. No reasons we cannot "survive" with it in the 
future too! ;-)
Best,

Philippe Grosjean