Board index » cppbuilder » Re: Install Kylix3 on Mandrake 10.1, Suse 9.1

Re: Install Kylix3 on Mandrake 10.1, Suse 9.1


2004-11-18 01:58:23 AM
cppbuilder69
Quote
I don't know, I've never done it. I don't even know what a "master
detail relationship" is, so it would probably take me a while even
with BCB or Delphi. :)

Emacs is a terrific editor. that we all agree. it's just not a
terrific IDE. I'm talking generically about development IDEs not just
C++ ides.
If you don't know what a master/detail relationship is then you dont do
database work so I can see why you wouldn't see the benefit of delphi.
TDataset is arguably the best part of delphi.
BTW design time development doesn't just apply to GUIS. You can build
remoteable objects, dataset servers, web services, asp.net using point
and click design time components. Do you want to hand code a soap
interface or do you want to import a WSDL def?
 
 

Re:Re: Install Kylix3 on Mandrake 10.1, Suse 9.1

Quote
I'm doing exactly this on a regular basis. I've never encountered problems.
Maybe you are using an old version? prior to version 1.1 OO didn't
export/import MS files correctly. Nowadays everything is fine.

It's possible I was using OO 1.0. Frankly I dont remember. I had to
install office XP.
 

Re:Re: Install Kylix3 on Mandrake 10.1, Suse 9.1

Mike Margerum < XXXX@XXXXX.COM >writes:
Quote
RAD designer, wizards, design time datasets,
This is all about the same, isn't it?
Quote
database explorer,
This can be done.
Quote
class explorer, code completion,
There are quite a few of those.
Quote
integrated help,
This too, although perhaps not for your libraries.
Quote
flyover variable views,
On the de{*word*81}? This is available.
Quote
background compiling,
Ghosh! BCB/CBX sucks at background compiling! And Emacs does
background compiling since forever! Actually, I launch several
compiling sessions at the same time quite often.
Quote
on the fly syntax checking,
cc-mode does impressive things formatting code. This way it works
better than any other tool I know checking syntax.
Quote
code refactoring
This means different things for different people, so I can't comment.
Quote
plus about 100 other things i've probrably missed.
Ok. OTOH, Delphi/BCB/CBX/Visual Studio lacks a good text editor :-)
Quote
The whole component oriented aspect of delphi is powerful and makes
developing an app so much faster. All of this applies 3 fold when
it comes to data driven websites.
You mean that Delphi/BCB makes *some* applications easy to develop,
right?
Quote
How long would it take you in C++ and emacs to build a single
QT/wx/GTK form that hit a database and had one editable grid and one
master detail relationship on it?
Hummmm... half the time I need with Delphi/BCB, my experience says. As
the problem grows on complexity, the percentage gain grows.
--
Oscar
 

{smallsort}

Re:Re: Install Kylix3 on Mandrake 10.1, Suse 9.1

Chris Uzdavinis (TeamB) < XXXX@XXXXX.COM >writes:
[snip]
Quote
>, code completion,

Not quite as nice as Borland has, but close enough. You can type in a
few characters in a buffer, and then hit M-/ it'll act like
tab-completion. You can cycle through my repeating the key sequence.
And you can use it everywhere inside Emacs. For me, it works better
than the code-completion provided by the C++-centric IDEs I know
(Borland && MSVC++).
[snip]
Quote
>plus about 100 other things i've probrably missed.

There are probably hundreds of things in emacs that other ides don't
have too.
[snip]
These are more fundamental to editing and
not so much of the "point and click your way to success",
Hehe
BTW, you missed the "feature" that you use Emacs the same way for
almost every programming language out there. This is a *big* win for
those who work on multi-language environments.
[snip]
--
Oscar
 

Re:Re: Install Kylix3 on Mandrake 10.1, Suse 9.1

Mike Margerum < XXXX@XXXXX.COM >writes:
[snip]
You're right, I don't do a lot of database work. I've programmed one
of our internal applications that talks to postgresql, but that's about
it for database work.
Quote
BTW design time development doesn't just apply to GUIS.
To me, typing in the editor is "design time", after working out my
ideas at the whiteboard.
RAD is just gui to me, though I know there are other things that
Delphi/BCB offers. Since the components are written in Delphi,
they're not terribly useful to me on linux. I work more closely to
the wire, and deal with networking and internal application
development (client/server).
No IDE really helps there. As for refactoring, I've never used that
and can't really comment how/if it would help me. Probably it would,
but simple factoring out common code into a subroutine is awfully
easy. The real help I could use in refactoring is for the hard
projects, but no ide can help there. For example, reworking the
entire innards of a system, not just little poking at the code.)
Quote
You can build remoteable objects, dataset servers, web services,
asp.net using point and click design time components. Do you want
to hand code a soap interface or do you want to import a WSDL def?
I've never dealt with any of that stuff either. :)
The "remotable objects" I work with are pure CORBA.
--
Chris (TeamB);
 

Re:Re: Install Kylix3 on Mandrake 10.1, Suse 9.1

Quote
Ghosh! BCB/CBX sucks at background compiling! And Emacs does
background compiling since forever! Actually, I launch several
compiling sessions at the same time quite often.

How is the background compiling? You are initiating it. I'm talking
about things like in visual studio 2003 where its constantly background
compiling your app and even underlines your syntax errors and you can
flyover the highlight to get a detailed error message.
Quote

>on the fly syntax checking,


cc-mode does impressive things formatting code. This way it works
better than any other tool I know checking syntax.

Can you give me an example? I'm not sure what you mean here.
Quote
Ok. OTOH, Delphi/BCB/CBX/Visual Studio lacks a good text editor :-)

It could be better. yes. I do tend to use Ultradedit on windows when I
need to do a lot of coding and dont require the IDE features.
Quote
You mean that Delphi/BCB makes *some* applications easy to develop,
right?

Correct. It wouldn't help in many instances. There's whole classes of
apps I wouldn't even consider delphi for.
Quote
Hummmm... half the time I need with Delphi/BCB, my experience says. As
the problem grows on complexity, the percentage gain grows.

For very large projects, the dataset paradigm can get a little sticky.
But for small to medium size database based apps, Nothing can compare.
What it comes down to is it depends on what type of project you are
building as to how much an IDE can benefit you.
 

Re:Re: Install Kylix3 on Mandrake 10.1, Suse 9.1

80% of my work right now is palm programming so i'm pretty familiar with
my editor being my "design time" :) I spend an inordinate amount of
time doing coding to support the GUI that if I had a real IDE with a
real Framework could be cut by a factor of 10. It's not like the GUI is
trivial in most apps.
I'd have to agree that for the most part you benefit the most from GUI
development in an IDE and that as a project grows the design time stuff
can offer less and less. I'm not a huge proponent in general of having
to map everything back to relational structures. But you can develop
stuff so fast with databound controls...
I do think that ECOII type frameworks may boost productivity 10 fold and
don't force you to make everything relational.
Quote
The "remotable objects" I work with are pure CORBA.

 

Re:Re: Install Kylix3 on Mandrake 10.1, Suse 9.1

Oscar Fuentes < XXXX@XXXXX.COM >writes:
Quote
BTW, you missed the "feature" that you use Emacs the same way for
almost every programming language out there. This is a *big* win for
those who work on multi-language environments.
... and for reading/sending email and posting to news groups. It's
the exact same editor, same key bindings, same window. I don't do
well when every task requires using different keys to do the same
operations. :)
And the spell checker and dictionary (using dict.org) come in
handy surprisingly often.
--
Chris (TeamB);
 

Re:Re: Install Kylix3 on Mandrake 10.1, Suse 9.1

Chris Uzdavinis (TeamB) < XXXX@XXXXX.COM >writes:
Quote
>BTW, you missed the "feature" that you use Emacs the same way for
>almost every programming language out there. This is a *big* win for
>those who work on multi-language environments.

... and for reading/sending email and posting to news groups. It's
the exact same editor, same key bindings, same window. I don't do
well when every task requires using different keys to do the same
operations. :)
This is something you don't appreciate until you experience
it. Switching from-to BCB/Outlook/Word/chat etc is a nightmare. People
ends using the least common denominator of text edition, just to save
their sanity.
Quote
And the spell checker and dictionary (using dict.org) come in
handy surprisingly often.
Yes. Few programmers realize how nice is to perform automatic spell
checking on code comments.
--
Oscar
 

Re:Re: Install Kylix3 on Mandrake 10.1, Suse 9.1

Mike Margerum < XXXX@XXXXX.COM >writes:
Quote
How is the background compiling? You are initiating it.
But it compiles in the background, in that you are still free to use
the editor in its entirety while it's doing a build.
BCB used to do only foreground compiles, making the IDE unusable until
the build finished. They then added the ability to run it in the
background, but the editor becomes quirky when that happens, and the
build is significantly slower.
Quote
I'm talking about things like in visual studio 2003 where its
constantly background compiling your app and even underlines your
syntax errors and you can flyover the highlight to get a detailed
error message.
Ah, that's a different thing entirely. Emacs certainly does not do
that automatically, at least not by default. You could make it do
background continuous builds, but it seems like a waste. Getting the
live errors to flow back to the editor would be both hard and
annoying. While I'm typing, my code generally doesn't compile
anyway.
Quote
>>on the fly syntax checking,
>cc-mode does impressive things formatting code. This way it works
>better than any other tool I know checking syntax.
>
Can you give me an example? I'm not sure what you mean here.
Code formatting, like rules to indent on certain things, aligning
code, etc. It's *very* good. Most IDEs and code reformatters have
far fewer options. A few years ago I looked at about 15 different
products with the intent of having a "standard" format for code in the
version control repository. Part of the check-in process would be to
standardize the format of the code. When you checkout code, it would
automatically re-indent to your own standard. That way we don't have
to dictate how code is formatted.
However, nothing was good enough to do what I wanted. Most only
allowed meager customizations to the indenting. Do curly braces
dangle at the end of a line or go on the next line? How far in should
they go? Etc. But that's about it. The curly braces are all
considered the same, regardless of whether they're part of a
namespace, function, class, for loop, or whatever. Emacs allows this
kind of fine-granular customization. For example, we do not indent
code inside a namespace, or else everhthing would be off the right
edge of the screen. But we do want other things indented, and can do
that.
Quote
What it comes down to is it depends on what type of project you are
building as to how much an IDE can benefit you.
Fair enough.
--
Chris (TeamB);
 

Re:Re: Install Kylix3 on Mandrake 10.1, Suse 9.1

I didn't realize emacs could do code completion. Does it just parse C++
I guess? Does that work with python too?
 

Re:Re: Install Kylix3 on Mandrake 10.1, Suse 9.1

Can emacs generate a make file? Thats another annoyance of mine. I
don't like having to modify make files.
 

Re:Re: Install Kylix3 on Mandrake 10.1, Suse 9.1

Mike Margerum < XXXX@XXXXX.COM >writes:
Quote
>Ghosh! BCB/CBX sucks at background compiling! And Emacs does
>background compiling since forever! Actually, I launch several
>compiling sessions at the same time quite often.
>
How is the background compiling? You are initiating it.
Background compiling used to mean, for the poor BCB folks, to launch a
build and be able to keep editing and browsing code at the same time.
Quote
I'm talking about things like in visual studio 2003 where its
constantly background compiling your app
Certainly, I don't want a compiler that is checking code I know it is
incomplete. This feature seems a total nonsense to me.
Quote
and even underlines your syntax errors
and you can flyover the highlight to get a detailed error message.

>
>>on the fly syntax checking,
>cc-mode does impressive things formatting code. This way it works
>better than any other tool I know checking syntax.
>
Can you give me an example? I'm not sure what you mean here.
Emacs' positions the code as you type. If you mistype a keyword or
forget some puntuation, things starts to look very odd on the
screen. Say, for instance, when you forget the final semicolon at the
end of a class or struct definition. With BCB, that happens to me all
the time. Never since I use Emacs.
Quote
>Ok. OTOH, Delphi/BCB/CBX/Visual Studio lacks a good text editor :-)
>
It could be better. yes. I do tend to use Ultradedit on windows when
I need to do a lot of coding and dont require the IDE features.
I use UltraEdit for HEX browsing and as a quick plain text
viewer. UltraEdit, although a very good editor by Windows standards,
is extremely primitive when compared against Emacs (no, I don't want
to start a flamewar, just stating an evidence :-)
Quote
>You mean that Delphi/BCB makes *some* applications easy to develop,
>right?
>
Correct. It wouldn't help in many instances. There's whole classes
of apps I wouldn't even consider delphi for.
We are not talking about languages, we are talking about IDEs and
editors. BCB, in principle, is ok for hard-code C++ stuff. There, you
gain very little from the "RAD" BCB provides. A good editor, something
that offers the least resistance between your thoughs and the
expression of your thoughs, is the real time-saver.
BTW, I use Emacs for editing the GUI parts of my BCB projects. Only
use the IDE when I need to do some non-trivial modification to a form.
Quote
>Hummmm... half the time I need with Delphi/BCB, my experience says. As
>the problem grows on complexity, the percentage gain grows.
>
For very large projects, the dataset paradigm can get a little
sticky. But for small to medium size database based apps, Nothing can
compare.
Unless for quick-and-dirty throw-away half-an-hour projects, the
hard-core way is the most profitable to me. And I was a Delphi/BCB guy
since Delphi 1.0. Just after devoting some time and effort to
understand how those *nix hackers work, realized that typing things on
a text editor can be extremely productive, if you know your
stuff. Really, I see natural that the *nix folks looks to BCB/Kylix as
just a tool for toy GUI projects.
Quote
What it comes down to is it depends on what type of project you are
building as to how much an IDE can benefit you.
Agreed.
--
Oscar
 

Re:Re: Install Kylix3 on Mandrake 10.1, Suse 9.1

Mike Margerum < XXXX@XXXXX.COM >writes:
Quote
I didn't realize emacs could do code completion. Does it just parse
C++ I guess? Does that work with python too?
Emacs does *text* *completion* out of the box. It is more efficient
than you probably think. I don't miss code-completion at all.
There is a package out there that implements several features that
belongs to the IDE hype. See
cedet.sourceforge.net/
--
Oscar
 

Re:Re: Install Kylix3 on Mandrake 10.1, Suse 9.1

Mike Margerum < XXXX@XXXXX.COM >writes:
Quote
Can emacs generate a make file? Thats another annoyance of mine. I
don't like having to modify make files.
A makefile declares how to turn one set of files into another. Surely
you realize that this can be very complex. For simple build
specifications (those BCB uses) it is trivial to write a Makefile, and
certainly is trivial to write an Emacs function that spits such a
Makefile.
On the link I provided before there is a package for project
manager. See EDE. I know nothing about it. I write my Makefiles.
--
Oscar