comp.lang.ada
 help / color / mirror / Atom feed
* ICFP2004 results are in
@ 2004-09-21 20:19 Martin Dowie
  2004-09-22  0:15 ` Cesar Rabak
  2004-09-22 12:04 ` Jacob Sparre Andersen
  0 siblings, 2 replies; 29+ messages in thread
From: Martin Dowie @ 2004-09-21 20:19 UTC (permalink / raw)


Sad to see not one Ada entry... :-(

http://www.cis.upenn.edu/proj/plclub/contest//results.php

I've stuck a 'reminder' in my desktop calender to keep an ear out for next 
years competition - anyone else up for it? It's obviously just for fun but 
it would be at least some publicity!

Cheers

-- Martin





^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-21 20:19 ICFP2004 results are in Martin Dowie
@ 2004-09-22  0:15 ` Cesar Rabak
  2004-09-22  3:37   ` Hyman Rosen
  2004-09-22 12:04 ` Jacob Sparre Andersen
  1 sibling, 1 reply; 29+ messages in thread
From: Cesar Rabak @ 2004-09-22  0:15 UTC (permalink / raw)


Martin Dowie escreveu:
 > Sad to see not one Ada entry... :-(
 >
 > http://www.cis.upenn.edu/proj/plclub/contest//results.php
 >
 > I've stuck a 'reminder' in my desktop calender to keep an ear out for
 > next years competition - anyone else up for it? It's obviously just
 > for fun but it would be at least some publicity!
 >
Martin,

This contest is geared towards functional languages (meaning dynamic�)
and rapid prototyping.

It would be interesting you spent a time trying to solve _this_ year 
problem with Ada and see if it would be worth the effort!

--
Cesar Rabak

[1] even untyped languages.




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-22  0:15 ` Cesar Rabak
@ 2004-09-22  3:37   ` Hyman Rosen
  2004-09-22 15:08     ` Cesar Rabak
  0 siblings, 1 reply; 29+ messages in thread
From: Hyman Rosen @ 2004-09-22  3:37 UTC (permalink / raw)


Cesar Rabak wrote:
> This contest is geared towards functional languages (meaning dynamic�)
> and rapid prototyping.

Nevertheless, it attracted more entries in C++ than in any other language.
The problems tend to be ones that do not have clearly optimal solutions or
approaches. For the past two years, they have designed problems where the
entries compete against each other to accomplish a goal. This makes for a
rather objective competition. They also award subjective Judges' prizes.



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-21 20:19 ICFP2004 results are in Martin Dowie
  2004-09-22  0:15 ` Cesar Rabak
@ 2004-09-22 12:04 ` Jacob Sparre Andersen
  2004-09-22 12:56   ` Martin Dowie
  2004-09-22 13:01   ` Marius Amado Alves
  1 sibling, 2 replies; 29+ messages in thread
From: Jacob Sparre Andersen @ 2004-09-22 12:04 UTC (permalink / raw)


Martin Dowie wrote:

> Sad to see not one Ada entry... :-(

Yes.  A friend and I worked on something, but good weather, nice
beaches, and beautiful girls _are_ more important. :-)

The task was very interesting, and maybe I will play a bit more with
the problem just for the fun of it.  But not until the autumn comes to
Sardinia.

> I've stuck a 'reminder' in my desktop calender to keep an ear out
> for next years competition - anyone else up for it? It's obviously
> just for fun but it would be at least some publicity!

We are definitely two who are going to take a look at it again next
year.  My advice - based on our experience from the previous years -
is to make it a social event with everybody on the team collected in
the same location.

Jacob
-- 
"If you think Tuck has said something that is completely
 wrong, you are almost certainly missing something :-)"



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-22 12:04 ` Jacob Sparre Andersen
@ 2004-09-22 12:56   ` Martin Dowie
  2004-09-22 19:50     ` Jacob Sparre Andersen
  2004-09-22 13:01   ` Marius Amado Alves
  1 sibling, 1 reply; 29+ messages in thread
From: Martin Dowie @ 2004-09-22 12:56 UTC (permalink / raw)


Jacob Sparre Andersen wrote:
> Martin Dowie wrote:
>
>> Sad to see not one Ada entry... :-(
>
> Yes.  A friend and I worked on something, but good weather, nice
> beaches, and beautiful girls _are_ more important. :-)

indeed... :-)

...and you forgot 'beer'! :-)))






^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-22 12:04 ` Jacob Sparre Andersen
  2004-09-22 12:56   ` Martin Dowie
@ 2004-09-22 13:01   ` Marius Amado Alves
  2004-09-22 14:02     ` Hyman Rosen
  2004-09-22 14:16     ` Martin Dowie
  1 sibling, 2 replies; 29+ messages in thread
From: Marius Amado Alves @ 2004-09-22 13:01 UTC (permalink / raw)
  To: comp.lang.ada

The *problems* are interesting, but IMO they have nothing to do with 
programming language. It is almost invariably an artificial intelligence 
problem. The success depends on the artificial intelligence method 
devised, not on the choice of programming language. (For the 2004 ants 
problem I think I would have bet on a genetic programming solution.)

Unfortunately the problems are the only interesting thing in these 
contests. The prize money is too low (specially after division by 5 or 
10 team members), the choice of programming language is a false target 
as I said, and the winners are called bad names ("discriminating 
hacker") go figure!




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-22 13:01   ` Marius Amado Alves
@ 2004-09-22 14:02     ` Hyman Rosen
  2004-09-22 21:19       ` Jacob Sparre Andersen
  2004-09-22 14:16     ` Martin Dowie
  1 sibling, 1 reply; 29+ messages in thread
From: Hyman Rosen @ 2004-09-22 14:02 UTC (permalink / raw)


Marius Amado Alves wrote:
> The *problems* are interesting, but IMO they have nothing to do with 
> programming language.

Why should they? Problems are problems. Anyway, Ada is intended to be
a general purpose language, and it would gain some notoriety if it were
used to create a successful entry.

One of the rigorous standards of the contest is that entries which crash
are immediately eliminated, so this should gave Ada a leg up, no?

 > It is almost invariably an artificial intelligence problem.

This is good, because it allows a broad range of implementation strategies.



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-22 13:01   ` Marius Amado Alves
  2004-09-22 14:02     ` Hyman Rosen
@ 2004-09-22 14:16     ` Martin Dowie
  2004-09-22 14:29       ` stephane richard
  1 sibling, 1 reply; 29+ messages in thread
From: Martin Dowie @ 2004-09-22 14:16 UTC (permalink / raw)


Marius Amado Alves wrote:
> The *problems* are interesting, but IMO they have nothing to do with
> programming language. It is almost invariably an artificial
> intelligence problem. The success depends on the artificial
> intelligence method devised, not on the choice of programming
> language. (For the 2004 ants problem I think I would have bet on a
> genetic programming solution.)
>
> Unfortunately the problems are the only interesting thing in these
> contests. The prize money is too low (specially after division by 5 or
> 10 team members), the choice of programming language is a false target
> as I said, and the winners are called bad names ("discriminating
> hacker") go figure!

But - there's no such thing as bad publicity...





^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-22 14:16     ` Martin Dowie
@ 2004-09-22 14:29       ` stephane richard
  0 siblings, 0 replies; 29+ messages in thread
From: stephane richard @ 2004-09-22 14:29 UTC (permalink / raw)


"Martin Dowie" <martin.dowie@baesystems.com> wrote in message 
news:415187d0_1@baen1673807.greenlnk.net...
>
> But - there's no such thing as bad publicity...
>
>

Indeed, as the old saying goes: "Talk about me, in good or in bad, but TALK 
ABOUT ME!" ;-) 





^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-22  3:37   ` Hyman Rosen
@ 2004-09-22 15:08     ` Cesar Rabak
  2004-09-22 15:14       ` Ed Falis
  0 siblings, 1 reply; 29+ messages in thread
From: Cesar Rabak @ 2004-09-22 15:08 UTC (permalink / raw)


Hyman Rosen escreveu:
> Cesar Rabak wrote:
> 
>> This contest is geared towards functional languages (meaning dynamic�)
>> and rapid prototyping.
> 
> 
> Nevertheless, it attracted more entries in C++ than in any other language.

Yes this is a fact: C++ and Java, but see below.

> The problems tend to be ones that do not have clearly optimal solutions or
> approaches. 

Yes, as a lot of interesting problems in AI are.

> For the past two years, they have designed problems where the
> entries compete against each other to accomplish a goal. This makes for a
> rather objective competition. They also award subjective Judges' prizes.

I agree with the 'objective competition' and the "subjective Judges'".

This just rises my point as a question: Does anyone has pointers or 
experience on the use of Ada in lieu of 'Rapid Prototyping' languages 
and/or extreme Programming?

--
Cesar Rabak




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-22 15:08     ` Cesar Rabak
@ 2004-09-22 15:14       ` Ed Falis
  2004-09-22 17:30         ` Samuel Tardieu
  0 siblings, 1 reply; 29+ messages in thread
From: Ed Falis @ 2004-09-22 15:14 UTC (permalink / raw)


On Wed, 22 Sep 2004 12:08:44 -0300, Cesar Rabak <crabak@acm.org> wrote:

> This just rises my point as a question: Does anyone has pointers or  
> experience on the use of Ada in lieu of 'Rapid Prototyping' languages  
> and/or extreme Programming?
>

The use of Ada is not in conflict with the Extreme Programming development  
approach.

- Ed



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-22 15:14       ` Ed Falis
@ 2004-09-22 17:30         ` Samuel Tardieu
  2004-09-22 17:42           ` Ed Falis
  2004-09-22 23:13           ` Stephen Leake
  0 siblings, 2 replies; 29+ messages in thread
From: Samuel Tardieu @ 2004-09-22 17:30 UTC (permalink / raw)


>>>>> "Ed" == Ed Falis <falis@verizon.net> writes:

Ed> The use of Ada is not in conflict with the Extreme Programming
Ed> development approach.

Well, compared to languages such as SmallTalk, Ada lacks a good
true refactoring editor for example, which is a must for agile
development and extreme programming.

  Sam
-- 
Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/sam



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-22 17:30         ` Samuel Tardieu
@ 2004-09-22 17:42           ` Ed Falis
  2004-09-22 19:25             ` Samuel Tardieu
  2004-09-22 23:32             ` Rod Chapman
  2004-09-22 23:13           ` Stephen Leake
  1 sibling, 2 replies; 29+ messages in thread
From: Ed Falis @ 2004-09-22 17:42 UTC (permalink / raw)


On 22 Sep 2004 19:30:27 +0200, Samuel Tardieu <sam@rfc1149.net> wrote:

> Well, compared to languages such as SmallTalk, Ada lacks a good
> true refactoring editor for example, which is a must for agile
> development and extreme programming.

I disagree.  A refactoring editor is nice to have, but definitely not a  
must to use agile methods.  Remember, they didn't exist when XP was being  
developed.

- Ed



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-22 17:42           ` Ed Falis
@ 2004-09-22 19:25             ` Samuel Tardieu
  2004-09-22 19:31               ` Ed Falis
  2004-09-22 23:32             ` Rod Chapman
  1 sibling, 1 reply; 29+ messages in thread
From: Samuel Tardieu @ 2004-09-22 19:25 UTC (permalink / raw)


>>>>> "Ed" == Ed Falis <falis@verizon.net> writes:

Ed> A refactoring editor is nice to have, but definitely not a must to
Ed> use agile methods.  Remember, they didn't exist when XP was being
Ed> developed.

Wrong. The Smalltalk refactoring browser was created in mid 1994,
while extreme programming has been developped circa 1999 if I am not
mistaken (at the beginning of 2000, few books existed on the subject,
but the famous "White Book"). Moreover, Ward Cunningham and Kent Beck,
the fathers of XP, were Smalltalk programmers and used refactoring a
lot. So I'd really say a refactoring editor is really a must. Sure,
you can do without it, but the productivity will be highly
decreased.

I hope we'll see a refactoring editor in Ada one day, perhaps in GPS,
but this is not an easy thing to do.

  Sam
-- 
Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/sam



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-22 19:25             ` Samuel Tardieu
@ 2004-09-22 19:31               ` Ed Falis
  0 siblings, 0 replies; 29+ messages in thread
From: Ed Falis @ 2004-09-22 19:31 UTC (permalink / raw)


On 22 Sep 2004 21:25:08 +0200, Samuel Tardieu <sam@rfc1149.net> wrote:

> Moreover, Ward Cunningham and Kent Beck,
> the fathers of XP, were Smalltalk programmers and used refactoring a
> lot.

Using refactoring and using a refactoring browser are two different  
things.  I never saw a requirement for a refactoring browser in any of  
Beck's early books on XP.  Having used many of the XP basic practices, I  
still don't think it's a requirement (and how many other languages had  
such browsers when people started applying XP and agile methods)?

Yes, it would be nice to have a refactoring browser for Ada, but it XP and  
agile methods can still be applied without such a magic bullet.

- Ed



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-22 12:56   ` Martin Dowie
@ 2004-09-22 19:50     ` Jacob Sparre Andersen
  0 siblings, 0 replies; 29+ messages in thread
From: Jacob Sparre Andersen @ 2004-09-22 19:50 UTC (permalink / raw)


Martin Dowie wrote:
> Jacob Sparre Andersen wrote:
> > Martin Dowie wrote:

> >> Sad to see not one Ada entry... :-(
> >
> > Yes.  A friend and I worked on something, but good weather, nice
> > beaches, and beautiful girls _are_ more important. :-)
> 
> indeed... :-)
> 
> ...and you forgot 'beer'! :-)))

That's because I prefer wine. :-)

But a good stout (or two :-) is okay now and then.

Jacob
-- 
People in cars cause accidents. Accidents in cars cause people.



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-22 14:02     ` Hyman Rosen
@ 2004-09-22 21:19       ` Jacob Sparre Andersen
  2004-09-22 21:41         ` Hyman Rosen
  0 siblings, 1 reply; 29+ messages in thread
From: Jacob Sparre Andersen @ 2004-09-22 21:19 UTC (permalink / raw)


Hyman Rosen wrote:
> Marius Amado Alves wrote:

> > The *problems* are interesting, but IMO they have nothing to do
> > with programming language.
> 
> Why should they?

It is implicit (or maybe actually explicit) in the contest that it
favours functional programming languages.

> Problems are problems. Anyway, Ada is intended to be a general
> purpose language, and it would gain some notoriety if it were used
> to create a successful entry.

I don't think it matters that much which language was used for the
winning entries.

> One of the rigorous standards of the contest is that entries which
> crash are immediately eliminated, so this should gave Ada a leg up,
> no?

Yes.

>  > It is almost invariably an artificial intelligence problem.
> 
> This is good, because it allows a broad range of implementation
> strategies.

Yes.  I wouldn't quite call the problems AI-like, but they are
definitely interesting and possible to solve in many different ways.

Jacob
-- 
"I don't want to gain immortality in my works.
 I want to gain it by not dying."




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-22 21:19       ` Jacob Sparre Andersen
@ 2004-09-22 21:41         ` Hyman Rosen
  0 siblings, 0 replies; 29+ messages in thread
From: Hyman Rosen @ 2004-09-22 21:41 UTC (permalink / raw)


Jacob Sparre Andersen wrote:
> It is implicit (or maybe actually explicit) in the contest that it
> favours functional programming languages.

Not unlike this n.g., I think they believe that *all* contests
favor functional programming languages :-) In the last few years
we've had a ray-tracing problem, a robots wars problem, an auto
race simulation, and now battling ant colonies. I don't see any
a priori reason that these favor FP.

> I don't think it matters that much which language was used for the
> winning entries.

I know I'm happy when C++ does well.



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-22 17:30         ` Samuel Tardieu
  2004-09-22 17:42           ` Ed Falis
@ 2004-09-22 23:13           ` Stephen Leake
  2004-09-23  1:38             ` Ed Falis
  2004-09-23 14:15             ` Samuel Tardieu
  1 sibling, 2 replies; 29+ messages in thread
From: Stephen Leake @ 2004-09-22 23:13 UTC (permalink / raw)
  To: comp.lang.ada

Samuel Tardieu <sam@rfc1149.net> writes:

> >>>>> "Ed" == Ed Falis <falis@verizon.net> writes:
> 
> Ed> The use of Ada is not in conflict with the Extreme Programming
> Ed> development approach.
> 
> Well, compared to languages such as SmallTalk, Ada lacks a good
> true refactoring editor for example, which is a must for agile
> development and extreme programming.

What are the features of a "refactoring editor" that Emacs + GNAT
lack? 

Is there a good summary/intro to a "refactoring editor" somewhere?

-- 
-- Stephe




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-22 17:42           ` Ed Falis
  2004-09-22 19:25             ` Samuel Tardieu
@ 2004-09-22 23:32             ` Rod Chapman
  2004-09-23  1:41               ` Ed Falis
  1 sibling, 1 reply; 29+ messages in thread
From: Rod Chapman @ 2004-09-22 23:32 UTC (permalink / raw)


"Ed Falis" <falis@verizon.net> wrote in message news:
> I disagree.  A refactoring editor is nice to have, but definitely not a  
> must to use agile methods.  Remember, they didn't exist when XP was being  
> developed.

FWIW, I'm here in Pittsburgh taking the SEI's PSP I course, which
has daily programming assignments that must be completed.  Pretty much
everyone is using jazzy "modern" environments like Java, VB.Net, and
VC++.  I'm using SPARK, EMACS/GLIDE, SPARK Examiner, and GNAT Pro.

Needless to say, I'm holding my own so far... :-)
 - Rod



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-22 23:13           ` Stephen Leake
@ 2004-09-23  1:38             ` Ed Falis
  2004-09-23 23:54               ` Stephen Leake
  2004-09-23 14:15             ` Samuel Tardieu
  1 sibling, 1 reply; 29+ messages in thread
From: Ed Falis @ 2004-09-23  1:38 UTC (permalink / raw)


On 22 Sep 2004 19:13:34 -0400, Stephen Leake <stephen_leake@acm.org> wrote:

> What are the features of a "refactoring editor" that Emacs + GNAT
> lack?
>
> Is there a good summary/intro to a "refactoring editor" somewhere?
>


The idea behind a refactoring editor is that it automates ways you might  
want to reorganize code to make it cleaner, or more flexible.  This would  
include moving declarations, combining common code fragments, and similar  
transformations on your code base.  It's really a great kind of tool in  
that it assists developers in common tasks while helping to avoid missing  
changes that need to be made for such an operation to be safe.

A good reference on refactoring is Martin Fowler's "Refactoring"  ;-)

It goes into the philosophy behind it, enumerates common kinds of  
refactorings, and discusses tool support, as well as providing a number of  
good references.

Like a like of the components of "agile methods", the subject material is  
about something all of us do after some experience developing software,  
but the book reframes its importance and provides a lot of guidance about  
how to do it effectively.


- Ed



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-22 23:32             ` Rod Chapman
@ 2004-09-23  1:41               ` Ed Falis
  2004-09-23  8:35                 ` Martin Krischik
  0 siblings, 1 reply; 29+ messages in thread
From: Ed Falis @ 2004-09-23  1:41 UTC (permalink / raw)


Rod,

I'm sure you know I have nothing against modern, jazzy environments (I  
still think VisualAge was about the best I've ever seen).  My difference  
with Sam was just one of necessity for being able to use agile methods vs  
desirability.

- Ed



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-23  1:41               ` Ed Falis
@ 2004-09-23  8:35                 ` Martin Krischik
  2004-09-23 13:07                   ` Ed Falis
  0 siblings, 1 reply; 29+ messages in thread
From: Martin Krischik @ 2004-09-23  8:35 UTC (permalink / raw)


Ed Falis wrote:

>  (I
> still think VisualAge was about the best I've ever seen)

Strange that none ever made it to implement something just as cool.

BTW: Did you mean VisualAge for Smalltalk, VisualAge for C++ or VisualAge
for Java. Actually they where all cool. AFAIK only one of them is still
supported (not considering special contracts).

With Regards

Martin

-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-23  8:35                 ` Martin Krischik
@ 2004-09-23 13:07                   ` Ed Falis
  0 siblings, 0 replies; 29+ messages in thread
From: Ed Falis @ 2004-09-23 13:07 UTC (permalink / raw)


On Thu, 23 Sep 2004 10:35:19 +0200, Martin Krischik  
<krischik@users.sourceforge.net> wrote:

> BTW: Did you mean VisualAge for Smalltalk, VisualAge for C++ or VisualAge
> for Java. Actually they where all cool. AFAIK only one of them is still
> supported (not considering special contracts).

Most of my exposure was to VA for Java, though I played a bit with the  
Smalltalk version on eval.  I've heard that VAJ got rolled into Web Sphere.

- Ed



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-22 23:13           ` Stephen Leake
  2004-09-23  1:38             ` Ed Falis
@ 2004-09-23 14:15             ` Samuel Tardieu
  2004-09-23 23:58               ` Stephen Leake
  1 sibling, 1 reply; 29+ messages in thread
From: Samuel Tardieu @ 2004-09-23 14:15 UTC (permalink / raw)


>>>>> "Stephen" == Stephen Leake <stephen_leake@acm.org> writes:

Stephen> What are the features of a "refactoring editor" that Emacs +
Stephen> GNAT lack?

Ed made a very interesting answer, so I won't repeat it. Here are two
concrete examples of things I often do in Smalltalk:

  - select a piece of code in a method, choose "make new method" --
    the piece of code is extracted, moved into a new method with the
    appropriate signature, temporary variables are put in the
    appropriate place, original location is replaced by a call,
    similar piece of codes in other methods are replaced (after user
    validation) by a call

  - move a method up or down the hierarchy -- if it is up, remove
    unnecessary redundant implementation in subclasses

 Sam
-- 
Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/sam



^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-23  1:38             ` Ed Falis
@ 2004-09-23 23:54               ` Stephen Leake
  0 siblings, 0 replies; 29+ messages in thread
From: Stephen Leake @ 2004-09-23 23:54 UTC (permalink / raw)
  To: comp.lang.ada

"Ed Falis" <falis@verizon.net> writes:

> On 22 Sep 2004 19:13:34 -0400, Stephen Leake <stephen_leake@acm.org> wrote:
> 
> > What are the features of a "refactoring editor" that Emacs + GNAT
> > lack?
> >
> > Is there a good summary/intro to a "refactoring editor" somewhere?
> >
> 
> 
> The idea behind a refactoring editor is that it automates ways you
> might  want to reorganize code to make it cleaner, or more flexible.
> This would  include moving declarations, combining common code
> fragments, and similar  transformations on your code base.  It's
> really a great kind of tool in  that it assists developers in common
> tasks while helping to avoid missing  changes that need to be made for
> such an operation to be safe.
> 
> A good reference on refactoring is Martin Fowler's "Refactoring"  ;-)

Ok. I'm familiar with the concept of refactoring, but I had not
considered how a tool could help do it.

> It goes into the philosophy behind it, enumerates common kinds of
> refactorings, and discusses tool support, as well as providing a
> number of good references.
> 
> Like a like of the components of "agile methods", the subject material
> is  about something all of us do after some experience developing
> software,  but the book reframes its importance and provides a lot of
> guidance about  how to do it effectively.

Right. I'll put it on my list of things to read.

-- 
-- Stephe




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-23 14:15             ` Samuel Tardieu
@ 2004-09-23 23:58               ` Stephen Leake
  2004-09-24  1:33                 ` Ed Falis
  0 siblings, 1 reply; 29+ messages in thread
From: Stephen Leake @ 2004-09-23 23:58 UTC (permalink / raw)
  To: comp.lang.ada

Samuel Tardieu <sam@rfc1149.net> writes:

> >>>>> "Stephen" == Stephen Leake <stephen_leake@acm.org> writes:
> 
> Stephen> What are the features of a "refactoring editor" that Emacs +
> Stephen> GNAT lack?
> 
> Ed made a very interesting answer, so I won't repeat it. Here are two
> concrete examples of things I often do in Smalltalk:
> 
>   - select a piece of code in a method, choose "make new method" --
>     the piece of code is extracted, moved into a new method with the
>     appropriate signature, temporary variables are put in the
>     appropriate place, original location is replaced by a call,
>     similar piece of codes in other methods are replaced (after user
>     validation) by a call

Interesting. The editor clearly has to know the syntax of the
language, and some of the semantics.

I can see using ASIS to get there with Ada, but it would have to run
fast to be acceptably interactive.

>   - move a method up or down the hierarchy -- if it is up, remove
>   unnecessary redundant implementation in subclasses

I do this on occasion, and GNAT doesn't provide much help in
identifying what needs to be removed. I think the "require override"
feature in Ada 05 will help here.

-- 
-- Stephe




^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ICFP2004 results are in
  2004-09-23 23:58               ` Stephen Leake
@ 2004-09-24  1:33                 ` Ed Falis
  0 siblings, 0 replies; 29+ messages in thread
From: Ed Falis @ 2004-09-24  1:33 UTC (permalink / raw)


The whole idea of a refactoring browser for Ada is exciting.  Hopefully we  
can do something along these lines in the not too distant future.

- Ed



^ permalink raw reply	[flat|nested] 29+ messages in thread

* ICFP2004 results are in
       [not found] <20040921221021.CBB084C4140@lovelace.ada-france.org>
@ 2004-10-02 12:27 ` Andrew
  0 siblings, 0 replies; 29+ messages in thread
From: Andrew @ 2004-10-02 12:27 UTC (permalink / raw)
  To: comp.lang.ada


> ------------------------------
> Message: 7
> Date: Tue, 21 Sep 2004 20:19:41 +0000 (UTC)
> From: "Martin Dowie" <martin.dowie@btopenworld.com>
> Subject: ICFP2004 results are in
>
> Sad to see not one Ada entry... :-(
>
> http://www.cis.upenn.edu/proj/plclub/contest//results.php
>
> I've stuck a 'reminder' in my desktop calender to keep an ear out for
next
> years competition - anyone else up for it? It's obviously just for fun
but
> it would be at least some publicity!
>
> Cheers
>
> -- Martin
>

I am interested.

Andrew Carroll
Carroll-Tech
720-273-6814
andrew@carroll-tech.net





^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2004-10-02 12:27 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-21 20:19 ICFP2004 results are in Martin Dowie
2004-09-22  0:15 ` Cesar Rabak
2004-09-22  3:37   ` Hyman Rosen
2004-09-22 15:08     ` Cesar Rabak
2004-09-22 15:14       ` Ed Falis
2004-09-22 17:30         ` Samuel Tardieu
2004-09-22 17:42           ` Ed Falis
2004-09-22 19:25             ` Samuel Tardieu
2004-09-22 19:31               ` Ed Falis
2004-09-22 23:32             ` Rod Chapman
2004-09-23  1:41               ` Ed Falis
2004-09-23  8:35                 ` Martin Krischik
2004-09-23 13:07                   ` Ed Falis
2004-09-22 23:13           ` Stephen Leake
2004-09-23  1:38             ` Ed Falis
2004-09-23 23:54               ` Stephen Leake
2004-09-23 14:15             ` Samuel Tardieu
2004-09-23 23:58               ` Stephen Leake
2004-09-24  1:33                 ` Ed Falis
2004-09-22 12:04 ` Jacob Sparre Andersen
2004-09-22 12:56   ` Martin Dowie
2004-09-22 19:50     ` Jacob Sparre Andersen
2004-09-22 13:01   ` Marius Amado Alves
2004-09-22 14:02     ` Hyman Rosen
2004-09-22 21:19       ` Jacob Sparre Andersen
2004-09-22 21:41         ` Hyman Rosen
2004-09-22 14:16     ` Martin Dowie
2004-09-22 14:29       ` stephane richard
     [not found] <20040921221021.CBB084C4140@lovelace.ada-france.org>
2004-10-02 12:27 ` Andrew

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox