From: Jose G. <jos...@ju...> - 2008-04-18 23:48:16
|
'Mickey' wrote: >>> We could put checks like this in edje_object_part_swallow. But I can't >>> help to >>> think was programmed to work this way for a reason I ignore. >>> >> All ELFs are written in this way, without error checking and reporting, i >> think it's for performance reason and I like it :) >> > > I sincerely hope that this was an ironic statement. The complete lack of error > handling in the EFL (well, apart from image loading) is dooming like the > sword of damocles. I'm afraid as EFL gets more popular this will be a _major_ > hindrance for professional adoption and I'd really like us to revisit this > before it's too late (read: stable APIs). > > That's not entirely accurate. There's quite a bit of error checking in many of the efl, though there could certainly be much more. But there's little or no error-reporting (even the image loading stuff isn't actually correctly enabled.. at least it wasn't some time back, haven't checked recently). In evas for example, most things will simply fail "silently" in that a default state is used (eg. if image loading fails, an opaque white image is used). Whether further error-reporting, or at least some return state of fail/success is desirable... |