Answer the question
In order to leave comments, you need to log in
Code standardization, document and responsible role?
Suppose a team has gathered at the beginning of some large project and they make decisions on the architecture, and in particular on the unification and standardization of writing code. For example, CamelKeys or BEM. Where is put { , 8 or 4
Well, such a trifle, for example.
Who should ideally be responsible for such details (do I think that QC is correct?), And what will such a document be called, where all this will be written out?
ZYZH I remember reading such a document, but I forgot where and what office, where such details were written out, and there it was told in the article who and how it was taken. Do you know what article I'm talking about?
Answer the question
In order to leave comments, you need to log in
Different languages have their own standards. Just google something like {language} style guides. For example, for php it will be PSR , for js, for example, a guide from airbnb or ideomatic.js .
When you use generally accepted coding standards, everything is easier. Linters already have these style guides a priori. Inside the team, you simply agree on which ones you will follow. If you want to use something of your own, share custom configs for team members.
What is the name of such a document? Probably the Code Style Guide. Perhaps you are talking about the article https://www.pullrequest.com/blog/create-a-programm...
There are also synonyms: coding guidelines, coding standards, or coding conventions.
Who controls? Well, if there are several levels of code verification:
camelcase, 8 or 4it's like a style, not architecture. Such decisions are usually made by the community, represented by the core team of developers of the language and standard libraries ... And then it is flashed in linters.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question