All I want for Matz-mas

641 views
604 views

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
641
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

All I want for Matz-mas

  1. 1. What I want for Matz-mas Andrew Grimm @andrewjgrimm
  2. 2. $VERBOSE = true <ul><li>Not my talks – I want it in Ruby 2.0! </li></ul>
  3. 3. $VERBOSE = true <ul><li>Warns you about misspelled instance variables
  4. 4. Warns you that (false; true) is legal but pointless
  5. 5. Warns you that you aren't using a variable </li></ul>
  6. 6. Who do I want using it? <ul><li>People who are going to ask “Why doesn't this code work?” questions on Stack Overflow
  7. 7. People who write libraries </li></ul>
  8. 8. Hash.default_proc <ul><li>If I could set a global default proc for Hash#fetch, I wouldn't need: </li><ul><li>hash.fetch{ raise “The key #{key.inspect} doesn't bloody exist”} </li></ul></ul>
  9. 9. Better support for FP <ul><li>I want to keep up with functional programming
  10. 10. I'd rather do it with Ruby than without Ruby </li></ul>
  11. 11. Better support for FP <ul><li>Ban side effects from part of your program?
  12. 12. Haskell process:
  13. 13. 1. No side effects
  14. 14. 2. Profound embarassment
  15. 15. 3. ???
  16. 16. 4. Awesomeness </li></ul>
  17. 17. Better books about Ruby <ul><li>Ruby has the same book published in a hundred editions </li><ul><li>Metaprogramming
  18. 18. DSLs
  19. 19. method_missing
  20. 20. monkeypatching </li></ul><li>They're showing off what Ruby can do, rather than help you accomplish your mundane task </li></ul>
  21. 21. Should I have to read “Smalltalk Best Practice Patterns” in order to know how to program in Ruby ?
  22. 22. What needs to be written about? <ul><li>How to write maintainable Ruby code </li><ul><li>And rescue poorly written Ruby code </li></ul><li>Object oriented Ruby
  23. 23. Functional programming Ruby
  24. 24. Ruby that fails fast
  25. 25. How to optimize Ruby </li></ul>
  26. 26. My ideal second Ruby book <ul>1. A n00b is doing it wrong on Stack Overflow 2. I say “Ah – you're doing antipattern X. Please see page 42 of 'U R doing it wrong in Ruby'” 3. The n00b is enlightened <li>Why? Because I'm still a bloody n00b! </li></ul>
  27. 27. Some books that are pretty decent <ul><li>Metaprogramming Ruby
  28. 28. Everyday scripting with Ruby
  29. 29. Eloquent Ruby (for n00bs, anyway)
  30. 30. The Pickaxe </li></ul>
  31. 31. Ruby community <ul><li>How much are we learning?
  32. 32. Why can't we get more non-beginner-level questions on Stack Overflow? Do you honestly think you know everything? </li></ul>
  33. 33. Ruby community <ul><li>Starting to realize that persistence might be separate from business logic </li><ul><li>Gee, ya think! </li></ul></ul>
  34. 34. Ruby community <ul><li>I want you guys to learn an awesome language
  35. 35. It's called Ruby </li></ul>
  36. 36. Less discriminatory humour <ul><li>I'm not opposing sexism in the hope that it'll lead to a more diverse community
  37. 37. Not being a boofhead is its own reward </li></ul>
  38. 38. Why I'm sick of sexism <ul><li>Intrinsically bad
  39. 39. Unprofessional
  40. 40. Makes me ashamed to by a (Ruby) programmer </li></ul>
  41. 41. Last and not least <ul><li>I want it to scale! </li></ul>

×