caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: hmf@inescporto.pt
To: caml-list@inria.fr
Subject: Re: [Caml-list] New Ocaml Plug-in for NetBeans
Date: Sat, 26 Jul 2008 13:01:18 +0100	[thread overview]
Message-ID: <1217073678.488b120e39357@webmail.inescporto.pt> (raw)

Hello,

Hope not to take this too much further...

Erik de Castro Lopo wrote:
> hmf@inescporto.pt wrote:
>
>> I am sceptical of comments such as those of Erik's (no disrespect
>> intended here).
>
> No offence taken.
>
>> I suspect these people either have not tried using
>> an IDE or simply haven't made the effort to learn to use the IDE and
>> take full advantage of it.
>
> As little as a 18 months ago I spend about 6 months maintaining
> 100k lines of mixed C++ and C# code using Visual Studio 2005,
> the IDE all the IDE fans rave about. It found the Visual Studio
> experience amazingly underwhelming; beyond tedious. The GUI hid
> details from me that I thought I needed to know and got in my
> way when I thought it should stay out of it.
>
> More recently I spend a couple of months using the Adobe Flash
> GUI development tools. Again I found this a woefully tedious
> exercise and wished for command line tools to replace the stupid
> and annoying GUI. The GUI thought it knew how I wanted to format
> my Actionscript code better than I did.
>
> The funny thing is that my preferences for command line tools was
> something I developed after my first exposure to an IDE. My first
> serios coding was done on Borland's Turbo Pascal and Turbo C IDEs
> back in the late 1980s.
>
> In the late 1990s I did a lot of FPGA development using the Xilinx
> development tools. It was the inadequacy of these tools which forced
> me back to Make because my Makefile understood the build process
> I wanted to achieve better than than the Xilinx tools. Later on
> in my FPGA design career I would do schematic entry of FPGA designs,
> export a Xilinx XNF netlist, convert the XNY netlist to VHDL using
> a utility I wrote and then run that VHDL through a simulator.
>
> This was actually a pivotal event for me because I was able to do
> better work by breaking free of the IDE which limited what I could
> do.
>

Ok, I assumed too much then. My apologies.

Two comments though:

a) Don't expect an IDE to provide all of the underlying functionality.
    Its just not feasible. I don't expect it.

b) I am *not* saying that IDEs don't have limitations. I am defending
   the point of view that a good IDE will *promote* Ocaml's *adoption*
   (ease of use for newbies, facilitates giving classes to students,
    allows quick prototyping by *non-experts*, etc...)


> IDEs still limit what I can do. How many IDEs allow for meta
> programming; source code compiling to programs which generate
> code which gets compiled to create the final program?
>

You mean create several projects, make a dependency to ensure
they are compiled correctly and in order and then call one of
those compiled applications to generate code? Hmm... I think
just the last part may be missing in the IDE I use.

> How many IDEs cater for more than one language? The thing is I use
> lots of lanaguages. At work I work on a number of projects, some
> in C, some in C++ and some in Ocaml. Doing it my way, with Linux
> as my IDE, means that apart from the compilers, everything else is
> the same. Same editor and same build system (make possibly augmented
> with the autotools).
>

Ok, this is not a rebuttal but... we all know C, C++, Ocaml, Haskell,
Ruby, etc, are supported in Eclipse. Granted support is not
perfect, but you can work quite comfortably.

> How many people who use multiple languages are willing to learn a
> different IDE for each language? Eclipse is not the answer either
> because however good it might be for Java its not very good for
> other langauges.
>

You don't. See above.

>> Which is surprising since mastering Ocaml
>> requires much effort, and all here seem to agree that the added
>> productivity of using Ocaml is worth it ;-).
>
> The same can be said for the Unix IDE, but the UNIX IDE is 100
> times more flexible and more capable than any other IDE in
> existance. I know Make well enough  to whip up a complex make
> file in minutes. I am also intimately familair with the automake/
> autoconf/libtool set. Since these tools are so flexible they
> adapt to my requirements and never force me to work the way they
> are designed.
>

What I say here also goes for Richard. I am aware that a lot of time
has gone into learning these tools (20 years!). I am just saying that to
use IDEs also requires effort. Of course whether this is advantageous or
not is up to you. For the newbies, students and even those that hack
as a hobby, I believe it certainly is. This is what I defend.

>> In fact mastering
>> emacs, vi, etc. with all those "modes" also requires a lot of
>> work.
>
> I don't like emacs and vi. My editor of choice for the last 13
> years has been nedit (Nirvana Editor) which has syntax highlighting
> for dozens of languages (and it easy to add new ones or modify
> existing ones), regex search/replace and macros. Its configurable
> so over the years I have bent it into the shape I  want. The same
> goes for my Unix shell.
>

Ok. But most IDE editor also offer most (all?) of those capabilities,
correct? Anyway, this is not the issue.

>> Why should the use of an IDE be any different?
>
> Unix is my IDE and I am reasonably certain that I can do more
> with my IDE than you can do with yours :-). By more, I mean
> more languages, more meta programming, more custom build
> options with more languages.
>

Granted. But I am defending lowering the barrier for Ocaml use.
Not for solving every conceivable problem that comes your way.
Remember: use the right tool to solve the problem.

> I suspect that a lot of the people who think Ocaml needs an IDE
> are people whose primay development platform is windows.
>

Ubuntu, before that Gentoo, before that Fedora, before that Red-hat.
Ok so before that windows NT, VMS, windows 98, windows 95,
windows 3.1 (I think), and ms-dos. So yes, I used windows quite a bit
;-).

On a final note: I believe that much of the resistance to use IDEs
also comes the following simple facts:

a) A lot of effort has gone into learning the tools used. No one wants
   to throw away all they have invested in that.

b) Use of an IDE may also signify "lock-in".

But please note: I didn't say use only the IDE. That's not possible. We
all know that. Again, I am only defending the idea that IDEs are
excellent to facilitate the use of Ocaml.

Regards,
Hugo


> Erik
>
> PS : Here's a nickle kid. Go and buy yourself a real computer :-).





             reply	other threads:[~2008-07-26 12:01 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-26 12:01 hmf [this message]
2008-07-26 12:25 ` Erik de Castro Lopo
2008-07-26 15:37   ` Jon Harrop
  -- strict thread matches above, loose matches on Subject: below --
2008-07-26 12:44 hmf
2008-07-26  9:18 hmf
2008-07-26  9:22 ` Richard Jones
2008-07-26  9:02 hmf
2008-07-26  9:19 ` Richard Jones
2008-07-28  9:58   ` Florian Hars
2008-07-26 10:03 ` Erik de Castro Lopo
2008-07-26 11:40   ` Jon Harrop
2008-07-26 12:07     ` Erik de Castro Lopo
2008-07-26 15:22       ` Jon Harrop
2008-07-29 14:16         ` Damien Doligez
2008-07-29 14:30           ` Lukasz Stafiniak
2008-07-29 18:01             ` Jean-Christophe Filliâtre
2008-09-07 21:39     ` Nathaniel Gray
2008-07-26 11:42 ` Jon Harrop
2008-07-26  8:46 hmf
2008-08-20  6:29 ` Maxence Guesdon
2008-08-20 14:38   ` Richard Jones
2008-08-22  6:34     ` Maxence Guesdon
2008-08-20 16:32   ` Jon Harrop
2008-08-22  6:41     ` Maxence Guesdon
2008-09-07 23:31     ` Nathaniel Gray
2008-09-08  1:10       ` Jon Harrop
2008-09-09  5:31         ` Nathaniel Gray
2008-09-09  7:43           ` Jon Harrop
2008-09-09  7:50             ` Nathaniel Gray
2008-08-27 20:24   ` kirillkh
2008-09-02  6:49     ` Maxence Guesdon
2008-07-22 11:14 adonis28850
2008-07-23  8:42 ` hmf
2008-07-23  8:50   ` adonis28850
2008-07-25 23:56     ` Jon Harrop
2008-07-26  0:24       ` Erik de Castro Lopo
2008-07-26  2:57         ` Jon Harrop
2008-07-26 12:25           ` Romain Beauxis
2008-07-26  9:09       ` Richard Jones
2008-07-28 17:25         ` Pal-Kristian Engstad
2008-07-28 19:25           ` Jon Harrop
2008-07-26 18:12 ` adonis28850

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1217073678.488b120e39357@webmail.inescporto.pt \
    --to=hmf@inescporto.pt \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).