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

Dennis Shea shea at ucar.edu
Wed Jul 1 16:42:03 MDT 2015


Je suis d'accord ... D

On Wed, Jul 1, 2015 at 3:44 PM, David Brown <dbrown at ucar.edu> wrote:

> On Wed, Jul 1, 2015 at 3:13 PM, Alan Brammer <abrammer at albany.edu> wrote:
> > Hi all,
> >
> > My vote would have to be on the /;    ;/  notation for consistency with
> > existing comments.
> >
> > This would also hopefully mean you can leave the trailing ;/ when you
> > uncomment a block. I know I would end up with a ton of trailing */ which
> > would then trip errors otherwise.
> >
> That's an interesting observation, and in my mind adds points in favor
> of the /; ;/ syntax.
>  -dave
>
> >
> > Alan.
> >
> >
> >
> > On Wed, Jul 1, 2015 at 2:42 PM, Karin Meier-Fleischer
> > <meier-fleischer at dkrz.de> wrote:
> >>
> >> 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
> >>
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> nclpy-group mailing list
> >> nclpy-group at ucar.edu
> >> List instructions, subscriber options, unsubscribe:
> >> http://mailman.ucar.edu/mailman/listinfo/nclpy-group
> >>
> >
> >
> > _______________________________________________
> > nclpy-group mailing list
> > nclpy-group at ucar.edu
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/nclpy-group
> >
> _______________________________________________
> nclpy-group mailing list
> nclpy-group at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/nclpy-group
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/nclpy-group/attachments/20150701/0d4626c9/attachment.html 


More information about the nclpy-group mailing list