standard indentation style suitable for IM programming

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

standard indentation style suitable for IM programming

Post by NicolasRobidoux »

Is there a standard indentation style (I use emacs) pretty close to what magick likes?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: standard indentation style suitable for IM programming

Post by anthony »

I myself have been uncomfortable with the double indentation that if blocks have.
But then I also like putting opening '{' on the end of the "if" statement.

But I've lived with the C re-formating that IM code occasionally gets.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply