× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Lmgtfy I think is considered a jab at the person who didn't google, I've used it myself.

I searched the help in RDi. That's where my question was coming from.

Thanks for the great explanations.

On May 8, 2017, at 7:50 PM, John Yeung <gallium.arsenide@xxxxxxxxx> wrote:

On Mon, May 8, 2017 at 7:12 PM, Buck Calabro <kc2hiz@xxxxxxxxx> wrote:
On 8 May 2017 at 16:36, Jack Tucky <jacktucky@xxxxxxxxx> wrote:
I try to use RDI more and more everyday. I've never heard of refactoring.
I searched help and quick access. How can I find out what it does?

Well, Rob pointed you to Google, and that wasn't wrong, but I would
have suggested fewer search terms. Before finding out what refactoring
is in the context of RDi or RPG, I would have recommended finding out
what refactoring is in general.

Buck did a nice job of explaining, both generally and in the context
of RDi. I just wanted to mention that it's even broader than changing
variable names or lifting out constants or anything that specific.
Buck said this:

Now that the dry stuff is over, what is refactoring? Refactoring is
the process, the art and science of changing a block of code without
altering the functionality of that block.

That's actually about as specific as you can be and still encompass
all that refactoring is. It can involve deeper changes, like getting
rid of loops and adding recursion, or vice-versa. That's on the exotic
side, but definitely pulling out repetitive code into a subprocedure
would be a common one. Pretty much anything goes, as long as the
functionality doesn't change.

Some links on the broad topic:

https://en.wikipedia.org/wiki/Code_refactoring

http://stackoverflow.com/questions/1025844/what-is-refactoring-and-what-is-only-modifying-code

Naturally, any IDE will only be able to help with the more limited and
specific forms of refactoring. (At least with today's technology.) But
that's already very useful.

John Y.
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.