[nclpy-group] Feedback on new feature...

Karin Meier-Fleischer meier-fleischer at dkrz.de
Wed Jul 1 12:42:02 MDT 2015


Hi to all,

thanks to Mary for the welcome note, too. :-)

I would prefer /* .. */ as used for C/C++. 

The /; .. ;/ looks a little bit strange and in my opinion the /* .. */ is much better to identify in scripts.
But that’s just my view.

Bye,
Karin



> Am 01.07.2015 um 17:28 schrieb Rick Brownrigg <brownrig at ucar.edu>:
> 
> Greetings everyone,
> 
> Thanks to Mary for the welcoming introductory note.  We do have a minor feature in the works for NCL as a language, but one which I think many will find convenient:  block-comments, whereby one can readily comment out multiple lines at once.
> 
> The question to the group is:  what should that look like?
> 
> As a C/C++/Java programmer, my natural inclination would be /*  ...  */ style bracketing comments.  However, I personally think that notation looks out of place in NCL code.  Given NCL's Fortran influences, we could turn to that language -- I'm surprised however that modern Fortran does not have a block-comment (?)
> 
> With ";" being NCL's line-comment character, one suggestion that has stuck is 
> 
>    /;   ...  ;/  bracketing notation.
> 
> To those of you who might not be C/C++/Java programmers, is there another more natural style appropriate for a language like NCL?
> 
> We appreciate any comments...
> 
> Rick
> 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/nclpy-group/attachments/20150701/6bfa5fac/attachment.html 


More information about the nclpy-group mailing list