You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Todd Gardner (JIRA)" <ji...@apache.org> on 2014/12/10 23:55:12 UTC

[jira] [Updated] (THRIFT-2885) Support fullcamel in cocoa compiler

     [ https://issues.apache.org/jira/browse/THRIFT-2885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Gardner updated THRIFT-2885:
---------------------------------
    Summary: Support fullcamel in cocoa compiler  (was: Support fullcaml in cocoa compiler)

> Support fullcamel in cocoa compiler
> -----------------------------------
>
>                 Key: THRIFT-2885
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2885
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Cocoa - Compiler
>    Affects Versions: 0.9.2
>            Reporter: Todd Gardner
>            Priority: Minor
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Obj-c tends to follow camelcase for variables and method names, and while we could use camelcase in the IDL to get that, we use languages that have snake case variable names; so it seems like the options are to do add compiler option to do the former or the latter transformation.
> Given java has fullcamel, it seems like the path of least resistance is to write the variables in snake_case in the idl and add compiler support for camelcase to certain languages; this is a proposal to do that for obj-c.
> I intend to take a stab at this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)