YoVDO

Agile Software Development: Clean Coding Practices

Offered By: LinkedIn Learning

Tags

Software Engineering Courses Unit Testing Courses Code Quality Courses Software Design Courses Agile Software Development Courses Code Readability Courses Clean Code Courses

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
1. Clean Names
  • 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
2. Clean Formatting
  • Why clean formatting matters
  • Indendation and bracket placement
  • Line wrapping
  • Whitespace
  • Comments
3. Clean Logic
  • Magic numbers and constants
  • Parameter lists
  • Predicate methods
  • Making good use of loops
4. Clean Unit Tests
  • What's a "unit" test?
  • Keep your tests fast
  • Single assertion per test
  • Keep your tests isolated
  • DRY vs. WET tests
Conclusion
  • Next steps

Taught by

M. Scott Ford

Related Courses

Ruby on Rails: An Introduction
Johns Hopkins University via Coursera
Internet of Things Capstone: Build a Mobile Surveillance System
University of California, San Diego via Coursera
Engineering Maintainable Android Apps
Vanderbilt University via Coursera
Orientação a Objetos com Java
Instituto Tecnológico de Aeronáutica via Coursera
TDD – Desenvolvimento de Software Guiado por Testes
Instituto Tecnológico de Aeronáutica via Coursera