Skip to content
Snippets Groups Projects
Commit a0da52d1 authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

add quality code slide

parent 93c45d08
No related branches found
No related tags found
No related merge requests found
2019/2019-06-11_gitTraining/slides/img/qualitybadge.png

119 KiB

2019/2019-06-11_gitTraining/slides/img/snoopy.png

366 KiB

......@@ -17,6 +17,9 @@
{
"filename": "whyCare.md"
},
{
"filename": "qualityCode.md"
},
{
"filename": "what_is_git.md"
},
......
## Quality of computer code is relevant for everyone.
`This does not concern me – I am only writing documentation or a script for generating a figure that I want to publish!`
[Anonymous researcher]
<div class="fragment">
**Great**, but ...
- Figure may not be reproducible
- Figure looks different when the input data changes
- Documentation will become outdated
… actually, **EVERYONE** writing documentation, a script, or code is concerned!
<div align="center">
<img src="slides/img/snoopy.png">
</div>
## Attributes of high-quality computer code
**Quality** of computer code can be seen as a **group of various attributes**.
High-quality computer code should be:
1. <font color="#A52A2A">**Versioned**</font>: incremental code
2. <font color="#FFA500">**Well-written**</font> (formatted, documented, commented): easy to read by a human
3. <font color="#008931">**Tested**</font>: extensively tested code
<div align="center">
<img src="slides/img/qualitybadge.png">
</div>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment