grow Flashcards

1
Q

What is Post-Commit and Pre-Commit Review?

A

Pre- and post-commit review concepts are quite self-explanatory: pre-commit is a type of review when the code is reviewed before it goes to the main repository of the version control system. Post-commit review takes place after the code has been submitted to the public repository.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Best code review practices (5)

A
  • Committing early and often. It’s far easier to run multiple small reviews than a single huge one
  • Encouraging developers to produce well-documented code before review is issued
  • Committing code to a ‘test’ branch first and pushing it to the main one after it successfully passes the review
  • Tracking defects in order to make sure they are actually fixed after the review
  • Reviewing the code, not the authors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Check out/ Check in:

A

Check out: Download a file from the repo.
Check in: Upload a file to the repository (if it has changed). The file gets a new revision number, and people can “check out” the latest one.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Head

A

Head: The latest revision in the repo.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Global Interpreter Lock (GIL)

A

Global Interpreter Lock (GIL) — это способ синхронизации потоков, который используется в некоторых интерпретируемых языках программирования,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly