Groups | Search | Server Info | Login | Register


Groups > comp.lang.java.programmer > #5106

Re: Confusion about String.matches method

From Michael Wojcik <mwojcik@newsguy.com>
Newsgroups comp.lang.java.programmer
Subject Re: Confusion about String.matches method
Date 2011-06-08 11:13 -0400
Organization Micro Focus
Message-ID <iso6av42sr7@news4.newsguy.com> (permalink)
References (4 earlier) <2fd869d6-c2f6-4360-85b4-6df2b6e68fb0@p13g2000yqh.googlegroups.com> <94n2jpFa1oU1@mid.individual.net> <ig1pu6dqcs402grnpe9kpa92lit9ts7os9@4ax.com> <4deca972$0$12380$c30e37c6@exi-reader.telstra.net> <j8ttu6tapf4veamn4ippbmjv2p64kkkv14@4ax.com>

Show all headers | View raw


Roedy Green wrote:
> 
> Someday we will stop using "in-band" controls and the goofy quoting
> problems will go away.  You could use two "colours" one for commands
> and one for data. We are hamstringing ourselved by imagining our
> programming tools are limited to TTYs.

While in-band signaling in strings is a problem (in fact a number of
problems, leading to many of the most common software vulnerabilities,
such as C buffer overflows and formatting errors), color-coding causes
as many problems as it solves. Not all programmers have "normal" color
vision, for one thing.

Color-coding in programming languages has been tried, notably in the
original Smalltalk. It didn't catch on, and for good reason.

Of course, many people find color-coded views of program source
useful. But since they're optional, they don't penalize programmers
who can't use them, or don't want to.

-- 
Michael Wojcik
Micro Focus
Rhetoric & Writing, Michigan State University

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Confusion about String.matches method laredotornado <laredotornado@zipmail.com> - 2011-05-31 10:24 -0700
  Re: Confusion about String.matches method Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-05-31 17:28 +0000
    Re: Confusion about String.matches method laredotornado <laredotornado@zipmail.com> - 2011-05-31 13:15 -0700
      Re: Confusion about String.matches method Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2011-05-31 23:10 +0200
      Re: Confusion about String.matches method Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-05-31 21:26 +0000
      Re: Confusion about String.matches method Ian Shef <invalid@avoiding.spam> - 2011-05-31 22:20 +0000
      Re: Confusion about String.matches method Roedy Green <see_website@mindprod.com.invalid> - 2011-05-31 15:53 -0700
        Re: Confusion about String.matches method laredotornado <laredotornado@zipmail.com> - 2011-06-01 07:10 -0700
          Re: Confusion about String.matches method Nigel Wade <nmw-news@ion.le.ac.uk> - 2011-06-01 16:02 +0100
            Re: Confusion about String.matches method Roedy Green <see_website@mindprod.com.invalid> - 2011-06-06 00:50 -0700
              Re: Confusion about String.matches method Esmond Pitt <esmond.pitt@bigpond.com> - 2011-06-06 20:18 +1000
                Re: Confusion about String.matches method Roedy Green <see_website@mindprod.com.invalid> - 2011-06-07 21:15 -0700
                Re: Confusion about String.matches method Michael Wojcik <mwojcik@newsguy.com> - 2011-06-08 11:13 -0400
                Re: Confusion about String.matches method Esmond Pitt <esmond.pitt@bigpond.com> - 2011-06-09 19:19 +1000
                Re: Confusion about String.matches method Roedy Green <see_website@mindprod.com.invalid> - 2011-06-07 21:18 -0700
                Re: Confusion about String.matches method Gene Wirchenko <genew@ocis.net> - 2011-06-08 07:50 -0700
              Re: Confusion about String.matches method Nigel Wade <nmw-news@ion.le.ac.uk> - 2011-06-06 12:15 +0100
          Re: Confusion about String.matches method Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-06-01 11:17 -0400
            Re: Confusion about String.matches method Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2011-06-01 18:59 +0200
          Re: Confusion about String.matches method Ian Shef <invalid@avoiding.spam> - 2011-06-01 19:41 +0000
      Re: Confusion about String.matches method Jim Janney <jjanney@shell.xmission.com> - 2011-06-01 08:41 -0600

csiph-web