On 21/04/2011, at 11:49 AM, Carsten Haitzler (The Rasterman) 
<ras...@rasterman.com> wrote:

> On Thu, 21 Apr 2011 01:09:44 +1000 Brett Nash <n...@nash.id.au> said:
> 
>> On Wed, 2011-04-20 at 01:13 -0700, Enlightenment SVN wrote:
>>> Log:
>>> and fix filter api to be consistent with evas.. letalone all of efl.
>>>  VERB AT END!!!! (get/set/whatever)
>> 
>> Is there any othere typed getters/setters in EFL?
>> 
>> I did the verb_type call, ala OpenGL.
> 
> off the top of my head, no - but verb goes at end. latin. :)

The reason I usually put types at the end is so when you have a language with 
type inspection (lua/JavaScript) or overloading (c++) the function then becomes 
foo_set (from foo_set_int) when you do the binding.  Hence it (hopefully) leads 
to a cleaner overall API. 

It's not a massive issue, but it just feels to me the type is an artifact of c, 
so should go behind the real method name. 

Regards,
Nash

> 
> 
> -- 
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> The Rasterman (Carsten Haitzler)    ras...@rasterman.com
> 

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to