On Fri, Mar 13, 2009 at 12:51 PM, Vincent Torri <[email protected]> wrote:
>
>
>>> eina_inlist_count_get()
>>
>> the action is to count number of existing elements. (in inlist it's
>> even O(n), so real counting! :-( )
>>
>>
>>> like all the access methods in the efl
>>
>> eina_list_count() ;-)
>
> it counts what ?

eina = namespace
list/inlist = what
count  = action over what

it's a pattern that we use. adding _get() there will not help much
with regard to that.


> The first time i saw that name, i wondered what it did. I
> don't like that api at all. Even if for you it's obvious, it might not be
> for other users. I prefer to be precise rather than to think that people
> will understand the meaning of that function.

you're arguing over a non-problem... eina_list_count() was just like
that, as evas and nobody never complained.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [email protected]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to