From edd at debian.org  Fri Jan 19 15:46:43 2007
From: edd at debian.org (Dirk Eddelbuettel)
Date: Fri, 19 Jan 2007 08:46:43 -0600
Subject: [Rd] C vs. C++ as learning and development tool for R
In-Reply-To: <200701191503.42779.rdiaz@cnio.es>
References: <836F00680EECD340A96AD34ECFF3B534B4A731@iu-mssg-mbx106.ads.iu.edu>
	<200701191503.42779.rdiaz@cnio.es>
Message-ID: <17840.55763.499761.363888@basebud.nulle.part>


Mark,

Great question. As Gabor said, if it is "just for R", there is no point in
learning C or C++. However, learning new programming paradigms is very useful
in and by itself, and being able to extend R with C, C++ or Fortran is
extremely useful for R.

I would suggest what I jokingly call 'C+' -- use C++, ignore many of the
advanced features for the next little while, and treat it as a 'better
C'.  There is no cost in terms of R extensibility.  Concentrate on the first
third or so of Stroustrup's book as well as others. There are also many
tutorials out there on the net.

Lastly, if it is "just" for learning other OO paradigms, Python and Ruby are
both excellent, widely used and well documented on the net. I speak neither
very well but have been meaning to learn either or both better for longer
than I'd care to admit in public.

Cheers, Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison



[Rd] C vs. C++ as learning and development tool for R
Dirk Eddelbuettel