リファクタリング

3f4be9784f765877f444bc839de29888?s=47 aereal
December 06, 2012
63

 リファクタリング

3f4be9784f765877f444bc839de29888?s=128

aereal

December 06, 2012
Tweet

Transcript

  1. ϦϑΝΫλϦϯά id:aereal 12೥12݄6೔໦༵೔

  2. class A; end 12೥12݄6೔໦༵೔

  3. def up; end 12೥12݄6೔໦༵೔

  4. @_cache = ... 12೥12݄6೔໦༵೔

  5. Θ͔ΒΜ 12೥12݄6೔໦༵೔

  6. class Person; end 12೥12݄6೔໦༵೔

  7. def upload_image; end 12೥12݄6೔໦༵೔

  8. @cached_name = ... 12೥12݄6೔໦༵೔

  9. ·͠ 12೥12݄6೔໦༵೔

  10. ఆྔతʹ 12೥12݄6೔໦༵೔

  11. look(1) 12೥12݄6೔໦༵೔

  12. which look 12೥12݄6೔໦༵೔

  13. gist.github.com/ 4216115 12೥12݄6೔໦༵೔

  14. this.aereal.org/ entry/ 2012/12/06/002059 12೥12݄6೔໦༵೔

  15. ruby ambiguous.rb bad.rb 12೥12݄6೔໦༵೔

  16. ީิ͕ଟ͍ 12೥12݄6೔໦༵೔

  17. ީิ͕ଟ͍ → ᐆດ 12೥12݄6೔໦༵೔

  18. ܗଶૉղੳ? 12೥12݄6೔໦༵೔

  19. ӳޠগͳ͍ 12೥12݄6೔໦༵೔

  20. ೔ຊޠݍ͕͍͢͝ 12೥12݄6೔໦༵೔

  21. • ϒϩοΫҾ਺ͩͬͨΒΏΔ͘ • ΫϥεͩͬͨΒݫ͘͠ • private ΍ protected ͩͬͨΒݫ͘͠ •

    ΤσΟλͱͷ࿈ܞ 12೥12݄6೔໦༵೔
  22. Thanks :) 12೥12݄6೔໦༵೔