Re: 2 new comment-like characters in Python to aid development?

2007-03-09 Thread dbhbarton
> But all of them are clear on how they work: they affect one line, or have a > bracket style like /* */ and thus demark clearly what they affect. Even > someone not fluent in the language in question will quickly grab what they > mean. There's nothing remotely fuzzy about how wip or halt comments

Re: 2 new comment-like characters in Python to aid development?

2007-03-09 Thread dbhbarton
> > I'm sorry I don't follow your logic. Meaningless to the interpreter, > > yes, meaningless to the IDE or to me, no. I "_can't_ profit from these > > conveniences"? Why ever not? > > Exactly, the ? is meaningless to the language itself, it's only a comment > sign - ... > ... it has nothing to do

Re: 2 new comment-like characters in Python to aid development?

2007-03-09 Thread dbhbarton
On 9 Mar, 14:05, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > But you _can't_ profit from these conveniences, at least not the ? > character. It's just garbage put in there for some others to interpret, > meaningless to the interpreter. So it _always_ boils down to > editor-support. I'm sorry I

Re: 2 new comment-like characters in Python to aid development?

2007-03-09 Thread dbhbarton
> Yes, it has. It says "disregard the following characters until EOL". > If you remove it, the following code will be interpreted as ... > code (and not be disregarded). and ! would say "disregard the following characters until End Of Program". Is it really so different? > > Well I'm not a big f

Re: 2 new comment-like characters in Python to aid development?

2007-03-09 Thread dbhbarton
On Mar 9, 10:59 am, "BJörn Lindqvist" <[EMAIL PROTECTED]> wrote: > On 9 Mar 2007 02:31:14 -0800, [EMAIL PROTECTED] > > > > > > <[EMAIL PROTECTED]> wrote: > > Thanks for the thoughts. > > > > This could be implemented without new syntax: just make your editor > > > recognize some special comments, a

Re: 2 new comment-like characters in Python to aid development?

2007-03-09 Thread dbhbarton
>Those characters have no syntactical meaning... ? Neither does # until you give it syntactical meaning. I must be missing what you mean. > would, IMHO, make the language "dirty". Well I'm not a big fan of decorators so I know how you must feel. But # FIXME + a hack doesn't seem clean to me. And

Re: 2 new comment-like characters in Python to aid development?

2007-03-09 Thread dbhbarton
Thanks for the thoughts. > This could be implemented without new syntax: just make your editor > recognize some special comments, and apply the highlighting to the > following block. By example, > > # XXX Remove this when FuruFaifa is fixed to always provide > #

2 new comment-like characters in Python to aid development?

2007-03-09 Thread dbhbarton
Had a thought that's grown on me. No idea if it's original or not- too inexperienced in programming- but I guess there's no harm floating it out there. Python wins big on readability, and there's no doubt that context- dependent text formatting in IDEs (keywords, strings, comments etc) is a massiv