Browsing Posts tagged c++

It is possible to customize the behavior of cindent in Vim by writing a wrapper function. All you need is to find out which indentifiers Vim uses for calculating the new indent, and then find an appropriate regular expression. Suppose we do not want to indent stuff in namespace declarations. I found out that it […]

I just came along the Inkscape Coding Style Guidelines. While written for the Inkscape project, I think it gives some food for thought when talking about code readability. Nice balance between being strict and pragmatic too. Whether you like the style or not, it worthy a read…