Code Reading

Code Reading

Learning More about Ruby by Reading Ruby Source Code'

F2dcf6633971844e19ca96ea294ba976?s=128

高見龍

May 31, 2013
Tweet

Transcript

  1. 1.
  2. 9.
  3. 10.
  4. 11.

    I’m a Python guy (≈ 2 years) I’m a iOS

    app guy (≈ 2 years) I’m a Flash guy (≈ 8 years) I’m a Ruby guy (≈ 4 years)
  5. 18.
  6. 20.
  7. 28.
  8. 34.

    http://blog.rubybestpractices.com/posts/gregory/005-code-reading-stdlib.html “once you start digging around in someone else’s code

    base, you’ll learn a lot about your own strengths and weaknesses” - Ruby Best Practice
  9. 40.
  10. 50.
  11. 60.
  12. 62.
  13. 67.
  14. 71.

    people = { "Eddie" => ["green", "eddie@digik.com.tw"], "Joanne" => ["yellow",

    "hello@yahoo.com"] } people.map { |name, (color, email)| puts [name, email] }
  15. 72.

    parse.y#8277-8299 shadowing_lvar_gen( ) people = { "Eddie" => ["green", "eddie@digik.com.tw"],

    "Joanne" => ["yellow", "hello@yahoo.com"] } people.map { |name, (_, email)| puts [name, email] }
  16. 86.

    高見龍 Contacts photo by Eddie Website Blog Plurk Facebook Google

    Plus Twitter Email Mobile http://www.eddie.com.tw http://blog.eddie.com.tw http://www.plurk.com/aquarianboy http://www.facebook.com/eddiekao http://www.eddie.com.tw/+ https://twitter.com/#!/eddiekao eddie@digik.com.tw +886-928-617-687