[Cs3] programming styles

Mikhail Nesterenko mikhail at cs.kent.edu
Fri Feb 5 15:36:15 EST 2016


CS3 students,

There was a question about proper indentation size. There is no
universal agreement. It varies from 2 to 8 spaces. Smaller allows more
potential indents while larger has greater visual separation. I like 4
spaces. GNU and Google guideliness require 2. Here, btw, a wiki
article comparing different indentation styles:

   https://en.wikipedia.org/wiki/Indent_style


Thanks,
-- 
Mikhail


More information about the cs3 mailing list