On Sat, 10 Jul 2010 03:11:34 -0300 Leif Middelschulte <leif.middelschu...@gmail.com> wrote:
> Hey, > > when reading part of EFL I also encountered those (forgotten?) > const-keywords. If you take 'type const name' vs. 'const type name' > into account as well, those misstakes are all over the place. > Somebody told me to not care too much about it, but I'd be with you > just because of 'correctness'. > But maybe this coccinelle stuff (lucas) can help us fixing this > formaility all over EFL? But what are even more important, are the > opinions of the lead devs on this. For what it's worth I'm all for them. Callbacks are annoying with them (const void * in -> void * out et al) and I really dislike having to cast. However they can improve performance, and even better can avoid real programmer bugs (const char * == not free, char * == I need to free etc ;-). For real fun, some heavy use of restrict would also be a major asset, but that takes real effort as you are making a quite strong set of guarantees to the compiler. Regards, nash ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel