comp.lang.ada
 help / color / mirror / Atom feed
* RE: powerful editors versus IDEs (was: License to Steal)
@ 2001-05-11 22:37 Beard, Frank
  0 siblings, 0 replies; 19+ messages in thread
From: Beard, Frank @ 2001-05-11 22:37 UTC (permalink / raw)
  To: 'comp.lang.ada@ada.eu.org'

I hope this is not a praise of vi.  An editor
so cryptic a hacker couldn't get out of it.

Frank

-----Original Message-----
From: John English [mailto:je@brighton.ac.uk]
Sent: Friday, May 11, 2001 10:07 AM
To: comp.lang.ada@ada.eu.org
Subject: Re: powerful editors versus IDEs (was: License to Steal)


Matthias Kretschmer wrote:
> vim is very powerfull if you know it, if you don't know it
> at all, you could be get into trouble exiting the editor :-)

We had an attempted hacker break-in at our site last year. The thing
that foiled the attempt was vi -- one of the system files had been
edited, but the edit has been killed, and the recovery log showed
the file to be full of "quit -- exit -- bye -- GET ME OUT OF HERE!"
stuff near the end... :-)

-----------------------------------------------------------------
 John English              | mailto:je@brighton.ac.uk
 Senior Lecturer           | http://www.it.bton.ac.uk/staff/je
 Dept. of Computing        | ** NON-PROFIT CD FOR CS STUDENTS **
 University of Brighton    |    -- see http://burks.bton.ac.uk
-----------------------------------------------------------------
_______________________________________________
comp.lang.ada mailing list
comp.lang.ada@ada.eu.org
http://ada.eu.org/mailman/listinfo/comp.lang.ada




^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: powerful editors versus IDEs (was: License to Steal)
@ 2001-05-15  0:07 Beard, Frank
  2001-05-15 14:02 ` Marin David Condic
  0 siblings, 1 reply; 19+ messages in thread
From: Beard, Frank @ 2001-05-15  0:07 UTC (permalink / raw)
  To: 'comp.lang.ada@ada.eu.org'


-----Original Message-----
From: Anders Wirzenius [mailto:anders.wirzenius@pp.qnet.fi]

> A method I used to practise in a former programmer life was to add
comments
> at the end of each updated line. When the current updating task was done,
> tested and released, the line end comments where removed and replaced by a
> short description in the header of the module. With that method we didn't
> have to bother what comments to write in the header each time we changed
> something. The summary was easy to write by reading through the line end
> comments.
>
>Anders Wirzenius

While that sounds perfectly reasonable and better than our current
approach, we are never allowed to go back and do that.  We have to
have a justification for checking the unit out, updating it, and
checking it back in.  To clean up the code is not sufficient.  So,
some poor guy down the road will have to maintain it with the noise
in place.

I would rather not put it there in the first place.




^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: powerful editors versus IDEs (was: License to Steal)
@ 2001-05-14 23:59 Beard, Frank
  0 siblings, 0 replies; 19+ messages in thread
From: Beard, Frank @ 2001-05-14 23:59 UTC (permalink / raw)
  To: 'comp.lang.ada@ada.eu.org'

-----Original Message-----
From: Simon Wright [mailto:simon@pushface.org]

> Jings! management gone mad! you need to look into a proper source code
> management system. CVS is free (so is SCCS, but why you would want to
> use it I don't know ..)
>
> What do your source files look like after a few updates? full of crap
> telling me who changed stuff and (perhaps) why, completely obscuring
> the program logic and making it look so ugly that anyone with the
> faintest sense of aesthetics comes over faint when asked to look at
> it.

I couldn't agree more.  We were forced to do it on Apex, and
now we are being forced to do it with PVCS on Windows NT.

The only justification that I've heard that has any merit is
that it tells you why the change was made.  As you say, that
seems like very little benefit for the amount of noise and
confusion it introduces into the code.  I have yet to see it
resolve anything.

And what's worse, if the change is later discovered to have
problems, then you have update comments on top of update
comments.  Why not just correct the code?  Yuck!

The CM tools provide a fairly good capability of displaying
the differences, making the comments quite redundant.
Granted they can be a little difficult to interpret if the
change history gets very lengthy.




^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: RE: powerful editors versus IDEs (was: License to Steal)
@ 2001-05-09 19:29 Beard, Frank
  2001-05-09 22:10 ` Gary Scott
  0 siblings, 1 reply; 19+ messages in thread
From: Beard, Frank @ 2001-05-09 19:29 UTC (permalink / raw)
  To: 'comp.lang.ada@ada.eu.org'

-----Original Message-----
From: Ted Dennison [mailto:dennison@telepath.com]

> I consider a macro facility to be necessary (ever needed to space over 4
spaces
> in 300 declarations, or create a declaration for each number in another
file?),
> and I notice its not in your list.

I was listing what it has, not what it is missing.  As far as the 4 spaces
example,
if you are talking about indenting the 300 declarations over 4 spaces, then
yes
that is the indent/unindent that I listed.  If you are talking about adding
4 spaces
in the middle of a line, as in wanting to move the colons (:) in the
declarations 
over 4 spaces to keep them all lined up, then that is what I called the
"repeat"
feature from emacs, which I do miss.  But it is far from a monumental
problem unless
you have a huge number of lines involved, which doesn't seem to happen that
often.

> The way I open a file in emacs is by hitting ctrl-D to bring up dired-mode
on
> one of the file's parent directories. Then I browse down the directory
tree
> until I find the file by using the 'f' or "Enter" key. It doesn't sound
> significatly different.

You're right, it is similar, but less user friendly and less aesthetically
pleasing,
at least to me.

> Sometimes, using emacs' file name completion I don't need to go through
all that
> effort. The Windows Open Dialog has no such capability.

That's not exactly true, it does have something similar, in that after you
bring up
the dialog box (just as in the ObjectAda project window), if you begin
typing
characters, it will jump you to the nearest matching name.  Then you can
pick from
that part of the list.  Windows Explorer works the same way.

I really don't want to start an editor war.  Everyone has their own
preference.
Emacs is a powerful editor (as is vi).  I just don't like the more primitive
look
and feel.

Frank




^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: powerful editors versus IDEs (was: License to Steal)
@ 2001-05-09 17:15 Beard, Frank
  2001-05-09 18:18 ` Ted Dennison
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Beard, Frank @ 2001-05-09 17:15 UTC (permalink / raw)
  To: 'comp.lang.ada@ada.eu.org'

Kent, I certainly agree with most of your comments.

However, the ObjectAda (for Windows) IDE does allow you
to use a different editor, but its editor is adequate.
I tried numerous editors without finding one I liked
better, so I gave up trying to find a better one.

It has most of what I consider to be necessary features:

  - the standard search/replace
  - auto formatting
  - color coded identifiers (reserved words, comments, etc.)
  - multi-line indent/unindent and auto-indent
  - multi-line comment/uncomment
  - find in files the allows you to click on the
    entry to jump to the location in the file
  - bookmarks
  - go to definition/completion (browse), unfortunately
    it has a limitation.  You can browse forward all you
    want, but it will only pop back one level.  I'm
    hoping they will have a fix for that soon.

I miss the repeat function in emacs, where you could repeat
an action anywhere in a file.  That would definitely come in
handy when we have to add an update comment to the end of 
every line that we modify.

But I hate the way you open a file in emacs.  I like the
GUI approach of popping up an Open Dialog box to allow you
to browse to a file.  ObjectAda has a Project window that
lists all the files included in the project.  Simply
double click the entry and it opens it.  If the file is
not part of the project, then the Open Dialog is an easy
way to find and open it.

> I find it much easier to keep an editor window
> open, and build my software with _my_ choice of
> editors, importing the code fresh into the IDE
> with each edit and paying the penalty of no
> incremental compilation or whatever

This usually isn't a problem with ObjectAda until the 
project starts getting large.  And even then, you can
open another copy of ObjectAda as an editor only.
That way the copy that's opened as the project for 
compilation doesn't do the internal validation, but you
do lose the "go to completion" capability, because it
will only browse on files that are part of the project.

I don't think I tried vim.  Where can I find it?  Does
it work on Windows NT?

Thanks
Frank

-----Original Message-----
From: xanthian@well.com [mailto:xanthian@well.com]
Sent: Saturday, May 05, 2001 4:26 AM
To: comp.lang.ada@ada.eu.org
Subject: <no subject>


Subject powerful editors versus IDEs in software development Re: License to
Steal
References: <mailman.988913824.5508.comp.lang.ada@ada.eu.org>

> I prefer a GUI oriented IDE with some power.  I
> miss some of the features of both editors, but
> not nearly enough to ever go back.

> Frank

I'm a bit confused; how could you describe an IDE
as "with some power" if it doesn't even provide
for dropping through to your power editor of
choice?

  [I'm a vim() fan myself, having outgrown both
  vi() and emacs(), but that's not really
  relevant to the larger issue of being captive
  to wimpy editing tools when writing software.]

The StarLogo language in which I'm presently
writing code (don't ask) also has an IDE, also
has a "wimpy to the point of provoking suicidal
impulses" editor.

I find it much easier to keep an editor window
open, and build my software with _my_ choice of
editors, importing the code fresh into the IDE
with each edit and paying the penalty of no
incremental compilation or whatever, than I do
trying to work with an editor roughly as feature
free as MS-Notepad.

After all, typical compilers are lightning fast
today, so almost all of the _time_ I spend in
software development is spent editing, whether of
code or docs, so editing is where I want the most
powerful assistance from my choice of tools.  In
my experience with several integrated development
environments, IDE developers have too many things
on their plates to also develop the world's best
editor, whatever that might be, as part of their
tool, and the embedded editor more often smacks
of being an afterthought.

I suppose this is back to the Unix concept of a
suite of tools each of which does one thing well
and has a simple integration technique, being
more usable than a monolithic tool that does lots
of things tolerably.

Which is of course a religious issue.

All of which are only opinions, but ones based on
grunches of carpal tunnel syndrome risk taking over
almost 41 years.

Cheers!

xanthian.
--
Kent Paul Dolan <xanthian@well.com>


-- 
Posted from smtp.well.com [208.178.101.27] 
via Mailgate.ORG Server - http://www.Mailgate.ORG
_______________________________________________
comp.lang.ada mailing list
comp.lang.ada@ada.eu.org
http://ada.eu.org/mailman/listinfo/comp.lang.ada




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

end of thread, other threads:[~2001-05-18  9:00 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-11 22:37 powerful editors versus IDEs (was: License to Steal) Beard, Frank
  -- strict thread matches above, loose matches on Subject: below --
2001-05-15  0:07 Beard, Frank
2001-05-15 14:02 ` Marin David Condic
2001-05-16  7:21   ` Anders Wirzenius
2001-05-16 13:34     ` Marin David Condic
2001-05-18  9:00       ` Georg Bauhaus
2001-05-16 15:08     ` Robert C. Leif, Ph.D.
2001-05-16 12:21   ` Marc A. Criley
2001-05-16 13:40     ` Marin David Condic
2001-05-14 23:59 Beard, Frank
2001-05-09 19:29 Beard, Frank
2001-05-09 22:10 ` Gary Scott
2001-05-09 23:45   ` Aron Felix Gurski
2001-05-09 17:15 Beard, Frank
2001-05-09 18:18 ` Ted Dennison
2001-05-09 23:00   ` Larry Kilgallen
2001-05-09 22:56     ` Gary Scott
2001-05-09 18:45 ` Matthias Kretschmer
2001-05-09 18:54   ` Ted Dennison
2001-05-11 14:06   ` John English
2001-05-12 17:23 ` Simon Wright
2001-05-14  5:55   ` Anders Wirzenius

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