 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
David Perkins Guest
|
|
| Back to top |
|
 |
Alan Bellingham Guest
|
Posted: Tue Nov 15, 2005 11:40 am Post subject: Re: Refactoring in BCB2006 |
|
|
David Perkins <please (AT) no-spam (DOT) com> wrote:
I think you managed to skip a number of pages.
Alan Bellingham
--
ACCU Conference 2006 - 19-22 April, Randolph Hotel, Oxford, UK
|
|
| Back to top |
|
 |
David Perkins Guest
|
Posted: Tue Nov 15, 2005 12:04 pm Post subject: Re: Refactoring in BCB2006 |
|
|
Which other refactoring items are in BCB2006?
|
|
| Back to top |
|
 |
Alan Bellingham Guest
|
Posted: Tue Nov 15, 2005 12:16 pm Post subject: Re: Refactoring in BCB2006 |
|
|
David Perkins <please (AT) no-spam (DOT) com> wrote:
| Quote: | Which other refactoring items are in BCB2006?
|
Oh, I thought you were complaining that that was all that was new, not
all that was new in refactoring.
(Having an important part of your post only in your subject line means
that it will get missed by a lot of people a lot of the time. I would
suggest you avoid it.)
But any refactoring support at all is better than none. Assuming it
works. C++ is pretty difficult compared to Java, for example, if only
because with Java you can keep up-to-date parsed versions of the whole
codebase. For C++ on the other hand, well, the separate compilation
model makes it more difficult to know that you've actually found all the
references. Not impossible, but more difficult.
Alan Bellingham
--
ACCU Conference 2006 - 19-22 April, Randolph Hotel, Oxford, UK
|
|
| Back to top |
|
 |
David Perkins Guest
|
Posted: Tue Nov 15, 2005 12:59 pm Post subject: Re: Refactoring in BCB2006 |
|
|
| Quote: | Oh, I thought you were complaining that that was all that was new, not
all that was new in refactoring.
|
!
| Quote: | But any refactoring support at all is better than none. Assuming it
works. C++ is pretty difficult compared to Java, for example, if only
because with Java you can keep up-to-date parsed versions of the whole
codebase. For C++ on the other hand, well, the separate compilation
model makes it more difficult to know that you've actually found all the
references. Not impossible, but more difficult.
|
That may be so. After a Borlander (I forget whowhen) suggested BCB
would also have refactoring, I was a bit miffed that we only get one
feature. Still, mustn't grumble, hopefully they'll add more BCB
refactoring in later.
|
|
| Back to top |
|
 |
Alan Bellingham Guest
|
Posted: Tue Nov 15, 2005 1:33 pm Post subject: Re: Refactoring in BCB2006 |
|
|
David Perkins <please (AT) no-spam (DOT) com> wrote:
| Quote: | feature. Still, mustn't grumble, hopefully they'll add more BCB
refactoring in later.
|
Indeed, I would hope so. In this case, I think it may have been a case
of "You want a bit now, or nothing till it's all finished?". To which
the answer will be "The bit now, please".
They have managed to produce the one part of Eclipse refactoring that I
actually use, so I'd mostly be happy.
Alan Bellingham
--
ACCU Conference 2006 - 19-22 April, Randolph Hotel, Oxford, UK
|
|
| Back to top |
|
 |
Dejan Stanic Guest
|
Posted: Tue Nov 15, 2005 8:16 pm Post subject: Re: Refactoring in BCB2006 |
|
|
David Perkins wrote:
| Quote: | That may be so. After a Borlander (I forget whowhen) suggested BCB
would also have refactoring, I was a bit miffed that we only get one
feature. Still, mustn't grumble, hopefully they'll add more BCB
refactoring in later.
|
Well, it looks that refactoring for Dexter's Delphi personallity is
quite enhanced compared to D2005.
Reasonable guess would be that the same thing will happen with following
releases with C++ personality.
LP,
Dejan
|
|
| Back to top |
|
 |
Rudy Velthuis [TeamB] Guest
|
Posted: Tue Nov 15, 2005 10:50 pm Post subject: Re: Refactoring in BCB2006 |
|
|
At 13:04:13, 15.11.2005, David Perkins wrote:
I guess refactoring is a little harder in C++ than in Delphi.
--
Rudy Velthuis [TeamB] http://velthuis.homepage.t-online.de
"There are only two ways to live your life. One is as though nothing is
a miracle. The other is as though everything is a miracle."
-- Albert Einstein (1879-1955)
|
|
| Back to top |
|
 |
Robby Tanner Guest
|
Posted: Tue Nov 15, 2005 11:18 pm Post subject: Re: Refactoring in BCB2006 |
|
|
"Rudy Velthuis [TeamB]" <velthuis (AT) gmail (DOT) com> wrote
| Quote: | At 13:04:13, 15.11.2005, David Perkins wrote:
I guess refactoring is a little harder in C++ than in Delphi.
|
Would that not sort of follow considering that the VCL is easier to
accomodate in OOP than in C++? Do they not use the same
features/limitations?
Rob
|
|
| Back to top |
|
 |
Rudy Velthuis [TeamB] Guest
|
Posted: Wed Nov 16, 2005 12:46 pm Post subject: Re: Refactoring in BCB2006 |
|
|
At 00:18:02, 16.11.2005, Robby Tanner wrote:
| Quote: |
"Rudy Velthuis [TeamB]" <velthuis (AT) gmail (DOT) com> wrote in message
news:xn0e9s95c24f4zf01l-velthuis (AT) www (DOT) teamb.com...
At 13:04:13, 15.11.2005, David Perkins wrote:
I guess refactoring is a little harder in C++ than in Delphi.
Would that not sort of follow considering that the VCL is easier to
accomodate in OOP than in C++? Do they not use the same
features/limitations?
Rob
|
Refactoring is syntax-dependent. AFAIK, it uses the existing CodeDOM
code, and that may be a little complicated in C++.
--
Rudy Velthuis [TeamB] http://velthuis.homepage.t-online.de
"Don't be so humble - you are not that great."
-- Golda Meir (1898-1978) to a visiting diplomat
|
|
| Back to top |
|
 |
Chris Uzdavinis (TeamB) Guest
|
Posted: Wed Nov 16, 2005 6:27 pm Post subject: Re: Refactoring in BCB2006 |
|
|
"Robby Tanner" <robby_tanner (AT) hotmail (DOT) com> writes:
| Quote: | Would that not sort of follow considering that the VCL is easier to
accomodate in OOP than in C++? Do they not use the same
features/limitations?
|
Considering class and function templates, macros, typedefs, and so on,
refactoring in C++ is MUCH harder to do because the IDE has to be
almost as smart as a compiler. Delphi is a far simpler language to
parse and evaluate.
--
Chris (TeamB);
|
|
| Back to top |
|
 |
Thomas Guest
|
Posted: Wed Nov 16, 2005 9:16 pm Post subject: Re: Refactoring in BCB2006 |
|
|
Chris Uzdavinis (TeamB) wrote:
| Quote: | Considering class and function templates, macros, typedefs, and so on,
refactoring in C++ is MUCH harder to do because the IDE has to be
almost as smart as a compiler. Delphi is a far simpler language to
parse and evaluate.
|
You are right, but there are tools like SlickEdit which do the job for
instance with Visual C++, Gcc etc..
We tried SlickEdit with Borland, but we failed because of the
compiler extensions and the stl implementation.
The Parser of SlickEdit didn't tolerate some of the constructs, because
they are not ANSI !
We even managed to get around the compiler extensions for the VCL.
But then the used STL with some special constructs was the barrier (both
Rogue Wave and stlport !).
With SlickEdit you can do: Renaming, Modify Parameters, Pull Up, Push
Down, Extract Class, Extract Superclass, Move Method, Move Static Field,
etc.
It would be nice to see such features sometimes also in the BCB IDE.
This would be added value for all those poor guys who have to refactor
some 100.000 lines of code. This would perfectly match to
the current product policy of Borland.
Thomas
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Wed Nov 16, 2005 10:36 pm Post subject: Re: Refactoring in BCB2006 |
|
|
"David Perkins" <please (AT) no-spam (DOT) com> wrote
| Quote: | Is this really all we're getting?
|
Initially, yes. Other refactoring will be added later.
Gambit
|
|
| Back to top |
|
 |
Chris Uzdavinis (TeamB) Guest
|
Posted: Thu Nov 17, 2005 5:59 am Post subject: Re: Refactoring in BCB2006 |
|
|
Thomas <thomas.vieten (AT) skynet (DOT) be> writes:
...
| Quote: | It would be nice to see such features sometimes also in the BCB IDE.
|
I don't think anyone is disputing that!
| Quote: | This would be added value for all those poor guys who have to
refactor some 100.000 lines of code. This would perfectly match to
the current product policy of Borland.
|
Indeed. However, BCB is getting a new IDE, an updated compiler, an
updated VCL, and a lot of other things too. They can't do everything,
and must make decisions about what will be included.
I would be surprised if they didn't--and would even expect--them to
choose to add more refactoring options in the future. (Assuming they
are feasible to implement.)
--
Chris (TeamB);
|
|
| Back to top |
|
 |
Jarrod Hollingworth Guest
|
Posted: Thu Nov 17, 2005 9:48 am Post subject: Re: Refactoring in BCB2006 |
|
|
"Remy Lebeau (TeamB)" wrote:
| Quote: | Initially, yes. Other refactoring will be added later.
|
Well there will be two, if you count "Find References" (it was listed under
Refactoring in slides presented by John K. today in Melbourne, Aust).
--
Regards,
Jarrod Hollingworth
++ Q1: Where do you spend your time?
++ Q2: Are your projects profitable?
++ Q3: Are you billing your customers accurately?
++ A : Complete Time Tracking
++ Track your time EASILY and ACCURATELY
++ http://www.complete-time-tracking.com
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|