C++ coding standards

2014-09-26 Thread Konrad Grochowski
Hey, Are C++ coding standards for thrift defined anywhere? I see that lib/cpp looks like this 'ClassName::methodName' but compiler code look more like 't_class_name::method_name'. I definitely prefer first style, but currently I'm playing around compiler. Can I use 'lib' style, assuming

Re: C++ coding standards

2014-09-26 Thread Jake Farrell
Hey Konrad We do not have a definitive style guide, but overall we try and keep everything formatted in a similar style for the given lib that is being worked on. As the compiler starts to move towards more stdlib standards use I would agree that using the 'ClassName::methodName' style would be

Re: C++ coding standards

2014-09-26 Thread Ben Craig
I haven't seen any explicit coding standards. I have a minor preference for using whatever the local style already is, but it isn't a large concern of mine. Konrad Grochowski hc...@minions.org.pl wrote on 09/26/2014 08:03:45 AM: From: Konrad Grochowski hc...@minions.org.pl To:

[jira] [Created] (THRIFT-2724) Coding standards page

2014-09-26 Thread Konrad Grochowski (JIRA)
Konrad Grochowski created THRIFT-2724: - Summary: Coding standards page Key: THRIFT-2724 URL: https://issues.apache.org/jira/browse/THRIFT-2724 Project: Thrift Issue Type: Improvement

Re: C++ coding standards

2014-09-26 Thread Konrad Grochowski
That's what I also tried, but compiler is much different from lib, so I just wanted to be sure that lib is 'future'. Issue created :) -kg W dniu 2014-09-26 15:28, Ben Craig pisze: I haven't seen any explicit coding standards. I have a minor preference for using whatever the local style

[jira] [Commented] (THRIFT-2724) Coding standards page

2014-09-26 Thread Jake Farrell (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14149156#comment-14149156 ] Jake Farrell commented on THRIFT-2724: -- Great idea, so far we try and stay to the

[jira] [Created] (THRIFT-2728) C# coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
Konrad Grochowski created THRIFT-2728: - Summary: C# coding standards Key: THRIFT-2728 URL: https://issues.apache.org/jira/browse/THRIFT-2728 Project: Thrift Issue Type: Sub-task

[jira] [Created] (THRIFT-2726) AS3 coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
Konrad Grochowski created THRIFT-2726: - Summary: AS3 coding standards Key: THRIFT-2726 URL: https://issues.apache.org/jira/browse/THRIFT-2726 Project: Thrift Issue Type: Sub-task

[jira] [Created] (THRIFT-2729) C++ coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
Konrad Grochowski created THRIFT-2729: - Summary: C++ coding standards Key: THRIFT-2729 URL: https://issues.apache.org/jira/browse/THRIFT-2729 Project: Thrift Issue Type: Sub-task

[jira] [Created] (THRIFT-2731) D coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
Konrad Grochowski created THRIFT-2731: - Summary: D coding standards Key: THRIFT-2731 URL: https://issues.apache.org/jira/browse/THRIFT-2731 Project: Thrift Issue Type: Sub-task

[jira] [Created] (THRIFT-2733) Erlang coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
Konrad Grochowski created THRIFT-2733: - Summary: Erlang coding standards Key: THRIFT-2733 URL: https://issues.apache.org/jira/browse/THRIFT-2733 Project: Thrift Issue Type: Sub-task

[jira] [Created] (THRIFT-2730) Cocoa coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
Konrad Grochowski created THRIFT-2730: - Summary: Cocoa coding standards Key: THRIFT-2730 URL: https://issues.apache.org/jira/browse/THRIFT-2730 Project: Thrift Issue Type: Sub-task

Re: [jira] [Created] (THRIFT-2724) Coding standards page

2014-09-26 Thread Chamila Wijayarathna
I think this is already reported. https://issues.apache.org/jira/browse/THRIFT-2626 On Fri, Sep 26, 2014 at 7:16 PM, Konrad Grochowski (JIRA) j...@apache.org wrote: Konrad Grochowski created THRIFT-2724: - Summary: Coding standards page

[jira] [Created] (THRIFT-2732) Delphi coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
Konrad Grochowski created THRIFT-2732: - Summary: Delphi coding standards Key: THRIFT-2732 URL: https://issues.apache.org/jira/browse/THRIFT-2732 Project: Thrift Issue Type: Sub-task

[jira] [Created] (THRIFT-2736) haxe coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
Konrad Grochowski created THRIFT-2736: - Summary: haxe coding standards Key: THRIFT-2736 URL: https://issues.apache.org/jira/browse/THRIFT-2736 Project: Thrift Issue Type: Sub-task

[jira] [Created] (THRIFT-2738) JS coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
Konrad Grochowski created THRIFT-2738: - Summary: JS coding standards Key: THRIFT-2738 URL: https://issues.apache.org/jira/browse/THRIFT-2738 Project: Thrift Issue Type: Sub-task

[jira] [Created] (THRIFT-2735) Haskell coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
Konrad Grochowski created THRIFT-2735: - Summary: Haskell coding standards Key: THRIFT-2735 URL: https://issues.apache.org/jira/browse/THRIFT-2735 Project: Thrift Issue Type: Sub-task

[jira] [Created] (THRIFT-2737) Java coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
Konrad Grochowski created THRIFT-2737: - Summary: Java coding standards Key: THRIFT-2737 URL: https://issues.apache.org/jira/browse/THRIFT-2737 Project: Thrift Issue Type: Sub-task

[jira] [Created] (THRIFT-2739) OCaml coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
Konrad Grochowski created THRIFT-2739: - Summary: OCaml coding standards Key: THRIFT-2739 URL: https://issues.apache.org/jira/browse/THRIFT-2739 Project: Thrift Issue Type: Sub-task

[jira] [Created] (THRIFT-2734) Go coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
Konrad Grochowski created THRIFT-2734: - Summary: Go coding standards Key: THRIFT-2734 URL: https://issues.apache.org/jira/browse/THRIFT-2734 Project: Thrift Issue Type: Sub-task

[jira] [Created] (THRIFT-2743) Smalltalk coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
Konrad Grochowski created THRIFT-2743: - Summary: Smalltalk coding standards Key: THRIFT-2743 URL: https://issues.apache.org/jira/browse/THRIFT-2743 Project: Thrift Issue Type: Sub-task

[jira] [Created] (THRIFT-2740) Perl coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
Konrad Grochowski created THRIFT-2740: - Summary: Perl coding standards Key: THRIFT-2740 URL: https://issues.apache.org/jira/browse/THRIFT-2740 Project: Thrift Issue Type: Sub-task

[jira] [Updated] (THRIFT-2736) Haxe coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Grochowski updated THRIFT-2736: -- Summary: Haxe coding standards (was: haxe coding standards) Haxe coding standards

[jira] [Created] (THRIFT-2742) Ruby coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
Konrad Grochowski created THRIFT-2742: - Summary: Ruby coding standards Key: THRIFT-2742 URL: https://issues.apache.org/jira/browse/THRIFT-2742 Project: Thrift Issue Type: Sub-task

[jira] [Created] (THRIFT-2741) Python coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
Konrad Grochowski created THRIFT-2741: - Summary: Python coding standards Key: THRIFT-2741 URL: https://issues.apache.org/jira/browse/THRIFT-2741 Project: Thrift Issue Type: Sub-task

[jira] [Commented] (THRIFT-2626) Apache Thrift needs a simple Style Guide for each language

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14149172#comment-14149172 ] Konrad Grochowski commented on THRIFT-2626: --- linked with THRIFT-2724 - I've

[jira] [Commented] (THRIFT-2724) Coding standards page

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14149173#comment-14149173 ] Konrad Grochowski commented on THRIFT-2724: --- comments from THRIFT-2626 suggests

[jira] [Updated] (THRIFT-2726) AS3 coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Grochowski updated THRIFT-2726: -- Component/s: AS3 - Library AS3 coding standards

[jira] [Updated] (THRIFT-2727) C glib coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Grochowski updated THRIFT-2727: -- Component/s: C glib - Library C glib coding standards ---

[jira] [Updated] (THRIFT-2728) C# coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Grochowski updated THRIFT-2728: -- Component/s: C# - Library C# coding standards ---

[jira] [Updated] (THRIFT-2730) Cocoa coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Grochowski updated THRIFT-2730: -- Component/s: Cocoa - Library Cocoa coding standards --

[jira] [Updated] (THRIFT-2733) Erlang coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Grochowski updated THRIFT-2733: -- Component/s: Erlang - Library Erlang coding standards ---

[jira] [Updated] (THRIFT-2729) C++ coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Grochowski updated THRIFT-2729: -- Component/s: C++ - Library C++ coding standards

[jira] [Updated] (THRIFT-2731) D coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Grochowski updated THRIFT-2731: -- Component/s: D - Library D coding standards --

[jira] [Updated] (THRIFT-2732) Delphi coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Grochowski updated THRIFT-2732: -- Component/s: Delphi - Library Delphi coding standards ---

[jira] [Updated] (THRIFT-2736) Haxe coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Grochowski updated THRIFT-2736: -- Component/s: Haxe - Library Haxe coding standards -

[jira] [Updated] (THRIFT-2740) Perl coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Grochowski updated THRIFT-2740: -- Component/s: Perl - Library Perl coding standards -

[jira] [Updated] (THRIFT-2737) Java coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Grochowski updated THRIFT-2737: -- Component/s: JavaME - Library Java coding standards -

[jira] [Updated] (THRIFT-2737) Java coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Grochowski updated THRIFT-2737: -- Component/s: Java - Library Java coding standards -

[jira] [Updated] (THRIFT-2734) Go coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Grochowski updated THRIFT-2734: -- Component/s: Go - Library Go coding standards ---

[jira] [Updated] (THRIFT-2735) Haskell coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Grochowski updated THRIFT-2735: -- Component/s: Haskell - Library Haskell coding standards

[jira] [Updated] (THRIFT-2738) JS coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Grochowski updated THRIFT-2738: -- Component/s: Node.js - Library JavaScript - Library JS coding

[jira] [Updated] (THRIFT-2742) Ruby coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Grochowski updated THRIFT-2742: -- Component/s: Ruby - Library Ruby coding standards -

[jira] [Updated] (THRIFT-2741) Python coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Grochowski updated THRIFT-2741: -- Component/s: Python - Library Python coding standards ---

[jira] [Updated] (THRIFT-2743) Smalltalk coding standards

2014-09-26 Thread Konrad Grochowski (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Grochowski updated THRIFT-2743: -- Component/s: Smalltalk - Library Smalltalk coding standards

Re: C++ coding standards

2014-09-26 Thread Rush Manbert
I think this veers off into territory that should be avoided for this project. I am not against having coding standards. Not at all. But Thrift is a fairly mature product. Disregarding new language support, I suspect that the bulk of the future coding required will be bug fixes. If that is

AW: C++ coding standards

2014-09-26 Thread Jens Geyer
That was exactly what I felt. Von: Rush Manbert Gesendet: 26.09.2014 17:44 An: dev@thrift.apache.org Betreff: Re: C++ coding standards I think this veers off into territory that should be avoided for this project. I am not against having coding standards. Not at

Re: AW: C++ coding standards

2014-09-26 Thread Ben Craig
That doesn't mean that we shouldn't have coding standards. It does suggest that the coding standards should encode existing practice, and shouldn't try to change the status quo too much. Jens Geyer jensge...@hotmail.com wrote on 09/26/2014 11:33:06 AM: From: Jens Geyer jensge...@hotmail.com

Re: C++ coding standards

2014-09-26 Thread Randy Abernethy
I am in particular agreement with the don't edit working code to conform with style in the compiler and perhaps in compiled languages in general. However in languages that are interpreted, often the interpreter will accept really bad or even erroneous code which will fail to execute (but only if

coding standards

2014-09-26 Thread Jens Geyer
Hi Konrad, for C#, Go and Haxe the IDEs and/or toolchains (gofmt) already a certain style that is commonly accepted. Especially for Go it is a deliberate part of the design. Would that suffice or do we need just another doc? Where I agree is Delphi, because the Emba style guide and defaults

Re: coding standards

2014-09-26 Thread Konrad Grochowski
Oh, I really hope, that for most langs, standards will be like Please follow default settings/guidelines for XYZ lang, found at: http://go.to.xyz.manual.com;. I've just added all those tasks for consistency. Especially if we're going with Roger's suggestion about lib/$lang/ReadMe.md - then it

Re: C++ coding standards

2014-09-26 Thread Konrad Grochowski
I agree that editing code only to match changed coding standards is unnecessary (mostly because it disrupts 'git blame' ;) ), but that doesn't mean that new parts should keep to old ugly, inconsistent style. I really believe in importance of constant refactoring and maintenance, and that

[jira] [Updated] (THRIFT-2721) generate more idiomatic erlang code

2014-09-26 Thread alisdair sullivan (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] alisdair sullivan updated THRIFT-2721: -- Fix Version/s: (was: 0.9.2) 1.0 generate more idiomatic erlang

[jira] [Commented] (THRIFT-2721) generate more idiomatic erlang code

2014-09-26 Thread alisdair sullivan (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14150363#comment-14150363 ] alisdair sullivan commented on THRIFT-2721: --- this should probably wait until