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 2015/03/18 19:25:38 UTC
[jira] [Commented] (THRIFT-2885) Support fullcamel in cocoa
compiler
[ https://issues.apache.org/jira/browse/THRIFT-2885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14367614#comment-14367614 ]
Todd Gardner commented on THRIFT-2885:
--------------------------------------
I coded up an implementation here: https://github.com/apache/thrift/pull/383
> 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)