TTree::MakeCode() [was Re: pb in TTree::MakeCode() ?]

From: Damir Buskulic (buskulic@lapp.in2p3.fr)
Date: Fri Nov 26 1999 - 09:39:15 MET


Hi Rene and all,

What about newcomers ? I know several people who like MakeCode because
it goes the procedural way, the way they are used to. It will take quite
a bit of time for everybody to switch to C++ and there will always be
opponents to that switch. Why force everybody to understand the classes
concepts in depth, when in a first approach a procedural one is enough ?
I personally use MakeCode when the problem is simple, even if I know C++
after a few years...
And I don't think that even a simple problem does not need an in depth
knowledge of C++. Simple problems become more complex very quickly.

Any other comments ?

Cheers

Damir 

Rene Brun wrote:
> 
> Hi Michael,
> TTree::MakeCode was the predecessor of TTree::MakeClass. It was designed
> to handle simple ntuples involving only basic data types.
> You should use TTree::MakeClass instead in your case.
> The generated code is far more general and powerful.
> I am considering dropping the support for MakeCode in a next version
> unless there is a strong opposition.
> 
> Rene Brun
> 

-- 
=====================================================================
| Damir Buskulic                  | Universite de Savoie/LAPP       |
|                                 | Chemin de Bellevue, B.P. 110    |
| Tel : +33 (0)450091600          | F-74941 Annecy-le-Vieux Cedex   |
| e-mail: buskulic@lapp.in2p3.fr  | FRANCE                          |
=====================================================================
mailto:buskulic@lapp.in2p3.fr



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:43 MET