Skip to content

Instantly share code, notes, and snippets.

@h7lc0n
Last active January 22, 2022 19:21
Show Gist options
  • Save h7lc0n/33288565f17c55624b8a7b05288a585e to your computer and use it in GitHub Desktop.
Save h7lc0n/33288565f17c55624b8a7b05288a585e to your computer and use it in GitHub Desktop.
SudoGroup: Little summary about writing good code
[&] How to write a good code ?
Terms:
- technical depth
- refactoring
- naming convetion
Simple Topics:
* shortcuts is bad and causes reading problems for long time
* you have to make multiple files for multiple classes/functions (ie. main.cpp + head>
* you should follow the same way the code language community writes
* you MUST write comments, dont write an essay, just a basic clear comment
* can you change your code later ?
Resources:
+ Clean Code: https://smile.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/>
+ VSCode Linting: https://code.visualstudio.com/docs/python/linting
===================================
[&] How to check if your code is good or bad ?
Terms:
- TDD "Test Driven Development"
- test engineers
Simple Topics:
* test each code line first, check its working, then continue building, REPEAT
Resources:
+ Test-Driven Dev: https://www.wikiwand.com/en/Test-driven_development
+ TDD Image1: https://marsner.com/wp-content/uploads/test-driven-development-TDD.png
+ TDD Image2: https://www.cdslab.org/matlab/notes/preliminary-foundations/programming>
+ Test automation Uni: https://testautomationu.applitools.com/
+ How to make your code reviewer fall in love with you: https://mtlynch.io/code-revie>
___________________________________
./Presenter: @sudomaze
./Thanks to all who attended <3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment