Re: Do you suggest me using IDE when I'm learning JAVA
On 04-05-2010 22:04, BGB / cr88192 wrote:
"Arne Vajh?j"<arne@vajhoej.dk> wrote in message
news:4be0b58f$0$275$14726298@news.sunsite.dk...
On 04-05-2010 00:57, BGB / cr88192 wrote:
if I were to pick a language for the task of writing an IDE, personally I
would likely pick either a mix of C and C++ (my typical major-use
languages).
Java or C# seems more obvious to me.
well, in my case, a lot has to do with familiarity...
C# raises the issue of differences between MS's implementation and Mono, and
the lack of good alternatives...
Java leaves one in a world of primarily Java-only...
Why.
Probably 99.9% of Java code does work with Java code. IDE's
written in Java are very widely used in the PHP, Python, Ruby world.
the big downside of C and C++ is that there is no really good and
portable
ways to do GUIs, leading to issues here no matter which route is chosen.
typically I have done GUIs via OpenGL, but admitted there are a few
drawbacks here as well...
An IDE does not need the OpenGL capabilities.
true, but in my case, OpenGL is the most convinient way (in C and C++) to
pull off portable GUI code (the main other alternative being to maintain
local bitmaps and draw into these...).
What is wrong with GTK, Qt, wxWidgets etc. ?
maybe C#, the big downside here being portability, the main upsides here
being easy access to C land (via C++/CLR, ...) and ability to use Windows
Forms...
C# with Mono for *nix and GTK# instead of WinForms could work fine.
but, the issue with GTK# is that AFAIK it is not available for MS's .NET
implementation...
providing redundant GUI between WinForms and GTK#, or demanding use of Mono
on Windows, would also be lame...
possibly it would leave one needing to find some way to gloss over the
differences.
Mono works fine on Windows.
A Mono installation is rather non-intrusive. It would not
break anything installing it as part of an install.
And with a little careful packaging then a GTK# app should
also run with MS .NET CLR.
I might consider Java, but I am not certain that the language design is
that
optimal for this sort of tool (and integration between C and Java code is
typically not, exactly, pleasant...). not that it is difficult to
integrate
them, mostly it is just unpleasant.
Java should do fine for IDE. There are lot sof IDE's written in Java.
JNI is a bit cumbersome, but I don't think an IDE need JNI at all.
but, this is only if one is willing to write the whole thing in Java, which
granted, seems like a little bit of a strain for someone far more used to
(the relative anarchy of) C and C++...
If there are nothing you really need C for, then learning Java
may be a better option than to create a monster mix of Java and C.
Arne