Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2885

Support fullcamel in cocoa compiler

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: 0.9.2
    • Fix Version/s: 0.13.0
    • Component/s: Cocoa - Compiler
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jking3 James E. King III
                Reporter:
                tgardner Todd Gardner
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified