Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Summarize our engineering conventions. #109

Closed
9 of 11 tasks
dpordomingo opened this issue Jan 19, 2018 · 8 comments
Closed
9 of 11 tasks

Summarize our engineering conventions. #109

dpordomingo opened this issue Jan 19, 2018 · 8 comments
Assignees

Comments

@dpordomingo
Copy link
Contributor

dpordomingo commented Jan 19, 2018

It would be great to summarize our engineering conventions like which logging or testing libraries do we use, how do we handle errors...

For example, I came across with "Choose one log library for Go and implement on all the projects" but I could not find it easily; we also own many big projects using the discarded library, what could lead to misunderstandings.

Not all people know what things do we use when we develop, and I'd find quite useful if all these conventions would be described under guide/engineering

@eiso
Copy link
Member

eiso commented Jan 19, 2018

Great idea!

@dpordomingo
Copy link
Contributor Author

dpordomingo commented Feb 6, 2018

I added the Go Code Review Comments guide to the issue description in case it is a company-wide recommendation (it is for Apps team)

@eiso
Copy link
Member

eiso commented Feb 19, 2018

@mcuadros are you open to a PR from @dpordomingo for this?

@eiso
Copy link
Member

eiso commented Feb 20, 2018

@dpordomingo you have the go-ahead from @mcuadros (via emoji above). Would you like to do this?

@dpordomingo
Copy link
Contributor Author

Oh, for sure I can start working on this, but I'll need tons of help.

(I updated the issue description with vendoring, and building issues)

@juanjux
Copy link
Contributor

juanjux commented Feb 23, 2018

Great idea!

Add coding conventions / coding style (for all the languages we mainly use: Go, Scala, C++ and Python) to that list.

For example, we've a Python one somewhere, and also I know we follow Google style for variable/names for C++ (but fortunately not other 💩 points in their coding guide like not using exceptions), but it would be great to have them all linked in this document.

@bzz
Copy link
Contributor

bzz commented Mar 21, 2018

\cc @smola

@smola smola self-assigned this Apr 12, 2018
@smola
Copy link
Contributor

smola commented Apr 12, 2018

I think I covered the basics in the PR.

Store linter configurations and rules for different languages in src-d/ci

We do not have standarized linter rules, but I think it is a good idea to add them to src-d/ci if/when we have them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants