Skip to content

Instantly share code, notes, and snippets.

@andreasklinger
Last active August 29, 2015 14:04
Show Gist options
  • Save andreasklinger/73069be2a84b3834f70a to your computer and use it in GitHub Desktop.
Save andreasklinger/73069be2a84b3834f70a to your computer and use it in GitHub Desktop.

Names always based on what they do, not why, where or how

  • eg not Url2Png but Screenshot or ScreenshotTaker
  • eg not twitter_user_image_tag but user_image_tag

Git commits always why you did it - not what you did

  • eg not Update Gemfile but Security Update for Rails 4.1.1

Think of git commits as titles for blogposts

Explict always over implicit (unless explicit leads to obvious)

  • eg not if options[:recommendations_page].present?; size = 20; end but options[:small_size]

Kanban (trello) always from right to left

Always handle the cards on the right side first - creates better flow and solves problems by itself

Workqueues (github issues/prs) always from bottom to top

Always review the PRs in the bottom first - therefore PRs get blocked the least time needed

PRs always first thing in the morning

No excuses. Every day. Otherwise stuff piles up quickly, merge conflicts get more, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment