4 ms·
Can you elaborate? I think you mean the ROOT analysis framework, right?
by tenfingers 12y ago
Can you elaborate? I think you mean the ROOT analysis framework, right?
- noobermin 12y agoIt could have been designed much better. One fantastic example that irked me when I used it is its extensive use of global objects. It's been quite a while so I don't remember the exact details, but I recall trying to open a number of files and having that fail because the global file object wasn't properly changed. And note that this was from an example copied verbatim from the internet. I just did a quick look through my comp and I can't find the stuff I did then, but I really doubt it was something as simple as forgetting to close it or call its destructor. Perhaps part of the issue is that I'm used to programming with normal C++, so _their_ C++ was hard to get used to. For example ROOT expects you to create objects on the heap--I recall ROOT failing when you tried to allocate objects on the stack. Part of it might just be that, I'm used to fantastic, easy to use and well thought out libs like the STL.
- milliams 12y agoYes, the API of ROOT really is terrible in many places. A gradual change is the only way to fix it however since any sharp break will only cause fragmentation.