Skip to content

Instantly share code, notes, and snippets.

View ticktricktrack's full-sized avatar

Rainer Kuhn ticktricktrack

  • Groundsure
  • Brighton, UK
View GitHub Profile
@ticktricktrack
ticktricktrack / exercise_1_by_Ray.rb
Created December 6, 2010 16:12
exercise 1 by Ray from Rubylearning Metaprogramming Batch 6
results = []
# 3
results << class A
def initialize
@a = 11
@@a = 22
a = 33
end
@a = 1
@jordanpoulton
jordanpoulton / pair_programming_roles
Last active May 28, 2024 12:34
Pair Programming Role Definitions - Driver:Navigator
Driver:
-Write the code according to the navigator's specification
-Listen intently to the navigators instructions
-Ask questions wherever there is a lack of clarity
-Offer alternative solutions if you disagree with the navigator
-Where there is disagreement, defer to the navigator. If their idea fails, get to failure quickly and move on
-Make sure code is clean
-Own the computer / keyboard
-Ignore larger issues and focus on the task at hand
-Trust the navigator - ultimately the navigator has the final say in what is written