[Effective-cpp] Item 35: Familiarize yourself with the langu age standard

Atul_Khot at i2.com Atul_Khot at i2.com
Tue Jun 10 05:14:56 EDT 2003


Don't really know how to interprete this.
Consider all the goto bashing - and I agree with it. Gotos increase code
complexities. 

But then sed is there for so long -- and there are powerful sed idioms 
built around sed gotos.

See 
http://groups.google.com.sg/groups?q=Atul_Khot%40i2.com+group:comp.unix.shell&hl=en&lr=&ie=UTF-8&oe=UTF-8&group=comp.unix.shell&selm=da233245.0301160105.28018ad0%40posting.google.com&rnum=4

or 

http://groups.google.com.sg/groups?q=Atul_Khot%40i2.com+group:comp.unix.shell+group:comp.unix.shell&start=10&hl=en&lr=&ie=UTF-8&oe=UTF-8&group=comp.unix.shell&selm=da233245.0212240330.668fc3f%40posting.google.com&rnum=15

Now consider Perl and Sed.

http://groups.google.com.sg/groups?q=Atul_Khot%40i2.com+group:comp.unix.shell+group:comp.unix.shell&start=10&hl=en&lr=&ie=UTF-8&oe=UTF-8&group=comp.unix.shell&selm=da233245.0301110145.673d92c3%40posting.google.com&rnum=19

Both are text manipulators ..... And both go very differently about it.


-- regards,
Atul

Easy numbering source code in VIM:
:let i = 1 | g/./pu! =\"/* \" . i . \" */\" | let i = i+1 | join






Adrian Fagg <AdrianF at evaluategroup.com>
Sent by: effective-cpp-admin at accu.org
06/10/03 01:38 PM
Please respond to effective-cpp

 
        To:     effective-cpp at accu.org
        cc: 
        Subject:        RE: [Effective-cpp] Item 35:  Familiarize yourself with the langu age 
standard

[Snip]

Nevertheless, I do believe that when you compare different languages and
their apparently divergent paradigms, you often find ways that each 
achieves
the same thing by different means.

[Snip]




More information about the Effective-cpp mailing list