Skip to content

Instantly share code, notes, and snippets.

@macournoyer
Created November 5, 2012 17:16
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save macournoyer/4018413 to your computer and use it in GitHub Desktop.
Save macournoyer/4018413 to your computer and use it in GitHub Desktop.
First programming lesson w/ my 4yo daughter
alphabet = 'A'..'Z'
`say "#{alphabet.to_a.join(', ')}"`
print 'What is your name? '
name = readline
`say "Hi #{name}"`
10.times do
puts "simone"
end
@remi
Copy link

remi commented Nov 5, 2012

So, when is she going to become your assistant in one of your programming classes? 😛

@macournoyer
Copy link
Author

Ahah! Perhaps she'll be teaching classes on her own soon :p

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