CourseWare Wiki
Switch Term
Winter 2024 / 2025
Winter 2023 / 2024
Winter 2022 / 2023
Winter 2021 / 2022
Winter 2020 / 2021
Winter 2019 / 2020
Winter 2018 / 2019
Older
Search
Log In
b241
courses
b4b33rph
tutorialy
python
clean_code
Table of Contents
Clean code, TDD, refactoring
Čistý kód (clean code)
TDD
Refactoring
Clean code, TDD, refactoring
Čistý kód (clean code)
Clean Code
Uncle Bob: Clean Code Lecture series
Založeno na knize Clean Code. Krátké úryvky níže.
What is Clean Code?
(a
delší a rychlejší verze
s příkladem refactoringu)
How long should a variable name be?
How small should a function be?
What is the purpose of a comment?
How many arguments should a function have?
Why boolean arguments should be avoided?
What's the problem with switch statements?
Ne každý souhlasí se všemi názory Uncle Boba, viz např. tato
kritika knihy Clean Code
a komentáře pod ní.
TDD
TDD is double-entry accounting
Why you should write tests first
Is TDD Slow?
TDD of a stack
Refactoring
Refactoring
Code smells
Martin Fowler: How to refactor code the right way?
Webová stránky knihy
Refactoring: Improving the Design of Existing Code
Martina Fowlera (kde si můžete stáhnout
první kapitolu
s příkladem refactoringu části kódu, který pro divadelní společnost tiskne účet pro jednotlivé klienty.
courses/b4b33rph/tutorialy/python/clean_code/start.txt
· Last modified: 2024/11/29 16:12 by
xposik