Agile Software Development: Clean Coding Practices
Offered By: LinkedIn Learning
Course Description
Overview
Learn why it's important to write code that's easily understood by both computers and humans, as well as how to do it in practice.
Syllabus
Introduction
- Write code for humans, not machines
- What you should know
- Clean code definition
- Why are clean names important?
- Prefer clarity over brevity
- Acronyms and abbreviations
- Class and type names
- Method and function names
- Variable names
- Parameter names
- Constant names
- Why clean formatting matters
- Indendation and bracket placement
- Line wrapping
- Whitespace
- Comments
- Magic numbers and constants
- Parameter lists
- Predicate methods
- Making good use of loops
- What's a "unit" test?
- Keep your tests fast
- Single assertion per test
- Keep your tests isolated
- DRY vs. WET tests
- Next steps
Taught by
M. Scott Ford
Related Courses
Learn to Program: Crafting Quality CodeUniversity of Toronto via Coursera 数据结构与算法 Data Structures and Algorithms
Peking University via Coursera 数据结构与算法第一部分 | Data Structures and Algorithms Part 1
Peking University via edX Software Construction in Java
Massachusetts Institute of Technology via edX Advanced Software Construction in Java
Massachusetts Institute of Technology via edX