Hi, One more message for today. :)
While working on the zero-crossing search features, I wasn't sure how to use
whitespace in the source files. There seems to be a mixture of tabs and spaces.
My default editor setup does not use tabs at all, so the code I contributed
probably didn't have consistent whitespace.
What are the generally accepted whitespace practices? Things looked a little
strange for me, since my tabwidth is probably not the same as other peoples. I
am happy to conform to settings that others are using, I just need to know what
the right thing to do is.
Also, I'd just like to confirm the following stylistic choices:
this seems to be preferred:
--------------------------------------------------------------------------------
void my_function()
{
/* code */
}
--------------------------------------------------------------------------------
over this:
--------------------------------------------------------------------------------
void my_function() {
/* code */
}
--------------------------------------------------------------------------------
this seems to be preferred:
--------------------------------------------------------------------------------
if(x == 0) do_something();
--------------------------------------------------------------------------------
over this:
--------------------------------------------------------------------------------
if(x == 0)
{
do_something();
}
--------------------------------------------------------------------------------
-Forest
signature.asc
Description: Digital signature
_______________________________________________ Mhwaveedit-discuss mailing list [email protected] https://mail.gna.org/listinfo/mhwaveedit-discuss
