It would be great if we will have some coding style guidelines for data.table project (like contributing guide).
My 5 cents (for both C and R sources):
- avoid very long lines - use 80-100 characters.
- Place spaces around all infix operators. See for example this line.
- Always put a space after a comma, and never before (just like in regular English). See here.
Topic to discuss.
I'm not sure, that it is a good idea to use so long function like readfile in fread.c. Usually it is hard to debug/maintain such long functions.
It would be great if we will have some coding style guidelines for
data.tableproject (like contributing guide).My 5 cents (for both
CandRsources):Topic to discuss.
I'm not sure, that it is a good idea to use so long function like readfile in
fread.c. Usually it is hard to debug/maintain such long functions.