On 2016-11-23 12:38, Jürgen Hestermann wrote:
> But this happens quite often in my code in function/procedure
> declarations as I align the parameters and directly after this

See attached screenshot. It shows three options.

  1) your original code
  2) I live to define each parameter individually with modifier
     and data type. But this layout makes the code stretch for
     to the right, meaning I might have to scroll horizontally
     to see all the parameter definitions.
  3) Slightly reworked (2) - no more horizontal scrolling required


I know coding style is a very personal thing. So I'm not saying you must
change your, I'm just showing examples of others.


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
_______________________________________________
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other

Reply via email to