Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Ian Collins Newsgroups: comp.lang.c++ Subject: Re: Equates or Synonyms? Date: Tue, 29 Nov 2011 18:13:45 +1300 Lines: 35 Message-ID: <9jj809F4d0U30@mid.individual.net> References: <9jghddF4d0U23@mid.individual.net> <9jil6iF570U1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net P5vSXg8oRcq25r7yZ7V8Jgmhte0KlnUDb1BBgWSlD9h80Xqg40 Cancel-Lock: sha1:JYibfsdICXAilwiNjfSdB99q6zs= User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:6.0.2) Gecko/20111003 Thunderbird/6.0.2 In-Reply-To: Xref: x330-a1.tempe.blueboxinc.net comp.lang.c++:11928 On 11/29/11 06:00 PM, Mike Copeland wrote: > In article<9jil6iF570U1@mid.individual.net>, ian-news@hotmail.com > says... >>>>>> Why do you want a different name when you're not using it? >>>>>> The simplest solution is then to ignore the name. >>>>>> After all, you're not using it. >>>>> >>>>> I only want to use a more descriptive name for the variable in the >>>>> application code. I want to maintain _some_ level of useful >>>>> documentation in my code... >>>> >>>> Then don't bother with the name of type, just give the variable a better >>>> name. Try "eventMaximumPace" rather than "EPace". Also heed Alf's >>>> advice about mixing naming convections! >>> >>> That's one reason why I want this capability: I know the name isn't >>> "good", but I have any applications where it's in my code but I want to >>> gradually migrate to the better name. Some of these applications are >>> old and don't need updates right now, so I'd leave them alone for a >>> while while I work on current stuff... >> >> Being somewhat lazy these days, I'd just load up the projects in my >> current IDE and select refactor->rename. Job done. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Huh? What is this? I've never seen or heard of any such "IDE > capability" (of course, I use VS6.0, which everyone constantly tells me > it sucks...). It's a feature of NetBeans and I assume Eclipse as well. All copes of VS6.0 should have self destructed many, many years ago! -- Ian Collins