Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!209.197.12.246.MISMATCH!nx02.iad01.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news4 From: Michael Wojcik Newsgroups: comp.lang.java.programmer Subject: Re: Confusion about String.matches method Date: Wed, 08 Jun 2011 11:13:56 -0400 Organization: Micro Focus Lines: 24 Message-ID: References: <50016a00-9422-46d4-8278-619fedafff55@c41g2000yqm.googlegroups.com> <2fd869d6-c2f6-4360-85b4-6df2b6e68fb0@p13g2000yqh.googlegroups.com> <94n2jpFa1oU1@mid.individual.net> <4deca972$0$12380$c30e37c6@exi-reader.telstra.net> NNTP-Posting-Host: pbe2057788b52534ed91ab852de669fa9f95cd541f409d854.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.5.0 In-Reply-To: Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5106 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