🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.folklore.computers
Article #620762

Re: Nostalgia

#620762
From: Charlie Gibbs
Date: Tue, 27 Feb 2018 18:27
37 lines
2953 bytes
On 2018-02-27, Scott Lurndal <scott@slp53.sl.home> wrote:

> J. Clarke <jclarke...@gmail.com> writes:
>
>> On 26 Feb 2018 11:32:49 GMT, Jorgen Grahn <grahn...@snipabacken.se>
>>
>>> It depends on the context.  For very local variables I tend to favor
>>> one-letter names like i (for iteration), p, q (pointers), n and m
>>> (quantities and sizes).
>>
>> I used to do that but realized that it's a bad habit for a variety of
>> reasons.  (Working in insurance and using APL has a lot to do with it
>> I think).  First, single letter variable names are hard to search on.

That's always been a problem for me too.

> /\<i\>
>
> will find the variable i (and not get a hit on the letter i when
> part of a word) in vi.

<tappity, tappity, tappity...>  Omigod, you're right!  Thanks.
Gotta put that one in my toolbox right beside grep -w.

>> So are variable names that form parts of common words. 
>
> You need a better editor.

A bit of searching took me to http://vim.wikia.com/wiki/Search_patterns,
which in addition to the above describes the asterisk trick.  Wow.
There's a lot more to vi[m] than meets the eye.

-- 
/~\  cgibbs@kltpzyxm.invalid (Charlie Gibbs)
\ /  I'm really at ac.dekanfrus if you read it the right way.
 X   Top-posted messages will probably be ignored.  See RFC1855.
/ \  HTML will DEFINITELY be ignored.  Join the ASCII ribbon campaign!
Technical Details
Message-ID: <p747tu11ijb@news2.newsguy.com>
Path: mbox-mo1.pugleaf.net!o9ni84qte.1!nntp.google.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news2
References: <p67o2727bv@news1.newsguy.com> <p6q0kb$t5$1@reader2.panix.com> <2MWdnbgKEKQjRA_HnZ2dnUU78XHNnZ2d@giganews.com> <ffga3cFrifbU1@mid.individual.net> <ffgu5uF5nalU15@mid.individual.net> <1313349967.541300884.430961.peter_flass-yahoo.com@news.eternal-september.org> <p6vrnc$ue5$1@dont-email.me> <slrnp97b4c.eu5.grahn+nntp@frailea.sa.invalid> <0lq79dpae03ai000r0690fja58qcud4udu@4ax.com> <slrnp97s31.eu5.grahn+nntp@frailea.sa.invalid> <3ve99dtbi7vu0jda6ut1kcbemr6j4ta28v@4ax.com> <eodlC.106384$NZ2.25177@fx40.iad>

Show Full Headers
Complete Article Headers
X-Received: by 10.55.75.23 with SMTP id y23mr11025741qka.16.1519756058170;        Tue, 27 Feb 2018 10:27:38 -0800 (PST)
X-BeenThere: alt.folklore.computers@googlegroups.com
Received: by 10.55.77.8 with SMTP id a8ls1174289qkb.3.gmail; Tue, 27 Feb 2018 10:27:36 -0800 (PST)
X-Received: by 10.55.163.77 with SMTP id m74mr11456585qke.29.1519756056680;        Tue, 27 Feb 2018 10:27:36 -0800 (PST)
MIME-Version: 1.0
Path: mbox-mo1.pugleaf.net!o9ni84qte.1!nntp.google.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news2
From: Charlie Gibbs <cgibbs@kltpzyxm.invalid>
Newsgroups: alt.folklore.computers
Subject: Re: Nostalgia
Date: 27 Feb 2018 18:27:10 GMT
Organization: NewsGuy.com
Lines: 37
Message-ID: <p747tu11ijb@news2.newsguy.com>
References: <p67o2727bv@news1.newsguy.com> <p6q0kb$t5$1@reader2.panix.com> <2MWdnbgKEKQjRA_HnZ2dnUU78XHNnZ2d@giganews.com> <ffga3cFrifbU1@mid.individual.net> <ffgu5uF5nalU15@mid.individual.net> <1313349967.541300884.430961.peter_flass-yahoo.com@news.eternal-september.org> <p6vrnc$ue5$1@dont-email.me> <slrnp97b4c.eu5.grahn+nntp@frailea.sa.invalid> <0lq79dpae03ai000r0690fja58qcud4udu@4ax.com> <slrnp97s31.eu5.grahn+nntp@frailea.sa.invalid> <3ve99dtbi7vu0jda6ut1kcbemr6j4ta28v@4ax.com> <eodlC.106384$NZ2.25177@fx40.iad>
NNTP-Posting-Host: p892b7fa5e957534877d42adcf8b99aec7f7ce7c0ae31aafb.newsdawg.com
User-Agent: slrn/1.0.1 (Linux)
X-Received-Bytes: 2394
X-Received-Body-CRC: 1095060677
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit