Viewing 2 replies - 1 through 2 (of 2 total)
  • There is no penalty in the use of an alternate coding style as long as the people that is going to touch the code agrees to use the same standard. If you check the commit history of this repository [1] you will see some changesets that I specifically created to modify the code to match the style guide that was established in the company.

    Just to give you a bit of background in the story, Sucuri uses multiple programming languages for different in-house projects, the development team created an in-house code guideline to keep the code readable in every project no matter the language, so I do not follow the “WordPress Coding Standards” [2] because PHP is not the only language that I use in my daily work.

    [1] http://plugins.trac.wordpress.org/log/sucuri-scanner/
    [2] https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards

    Thread Starter Viktor Szépe

    (@szepeviktor)

    Thank you.

    e.g. I code in Javascript in the Crockfod way.

    And in shell in another way.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Coding style’ is closed to new replies.