|
Jack, my only intention was to help. I'm try to pay back the community
for all the help I have received.
There were no bad thoughts. I'm sorry if you felt so....
Rob
On 5/8/2017 8:08 PM, Jack Tucky wrote:
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:
have suggested fewer search terms. Before finding out what refactoring
On 8 May 2017 at 16:36, Jack Tucky <jacktucky@xxxxxxxxx> wrote:Well, Rob pointed you to Google, and that wasn't wrong, but I would
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?
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 withoutThat's actually about as specific as you can be and still encompass
altering the functionality of that block.
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-refactori
ng-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.
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 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.