Created
November 5, 2012 17:16
-
-
Save macournoyer/4018413 to your computer and use it in GitHub Desktop.
First programming lesson w/ my 4yo daughter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alphabet = 'A'..'Z' | |
`say "#{alphabet.to_a.join(', ')}"` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print 'What is your name? ' | |
name = readline | |
`say "Hi #{name}"` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10.times do | |
puts "simone" | |
end |
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
So, when is she going to become your assistant in one of your programming classes? 😛