ia toki camp 2017 - avoiding technical debt

Post on 13-Apr-2017

54 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Avoiding Technical DebtIkatan Alumni TOKI Gathering @ TOKI Camp 2017

ProblemsPhase as a startup..

❏ Product market fit, as soon as possible

❏ With limited budget

❏ Build fast, break fast

❏ As some metrics grow

❏ More backlogs

❏ More budget

❏ Growing team

Cost of Technical Debt❏ Fix one bug, and two more pop up

❏ Really hard to understand code and modify it

❏ Waste time to explain the code

❏ New features, here comes old feature bugs

❏ Human cost

Code Assets Standardization❏ Code styling

❏ Naming convention

❏ Commit message

❏ Unit testing

❏ Code review

❏ Refactor

Code StylingMostly handled by linter

Naming Conventions❏ Filename: TitleCase, kebab-case, etc

❏ Class name: Noun

❏ Function name: Verb, camelCase

❏ Git branching name:

❏ add/new-feature❏ update/existing-feature❏ fix/bugs❏ try/new-things

Unit test❏ Happy case + exception case

❏ First step of bug fixing

Code Review❏ Ensuring the code is understandable and maintainable

❏ Minimum one reviewer for each pull request

❏ 60 minutes timeboxing

❏ Everyone input is valid

❏ Share code ownership

Refactor❏ Keep improving code quality

❏ Tools: design pattern, unit test

❏ Reference: Clean Code: A Handbook of Agile Software Craftsmanship by Robert C Martin

Thank you.

top related