Ruby for biginner - Don't be suprised

  • 239 views
Uploaded on

from http://slid.es/nacyot/ruby …

from http://slid.es/nacyot/ruby
on aug 2013 at Dev.study
by nacyot(Kim Daekwon)

More in: Technology , Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
239
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
4
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. RUBY
  • 2. PROGRAMMING LANGUAGE OTAKU
  • 3. PRINCIPLE OF LEAST SURPRISE
  • 4. FOR EXAMPLE, I WAS A C++ PROGRAMMER BEFORE I STARTED DESIGNING RUBY. I PROGRAMMED IN C++ EXCLUSIVELY FOR TWO OR THREE YEARS. AND AFTER TWO YEARS OF C++ PROGRAMMING, IT STILL SURPRISED ME.
  • 5. NEED-TO-KNOW
  • 6. SYNTAX SUGARS
  • 7. RUBY 2.0
  • 8. CONVENTIONS
  • 9. VARIABLES
  • 10. ? METHODS
  • 11. ! METHODS
  • 12. MAGIC COMMENT
  • 13. MAGIC COMMENT IN RUBY 2.0
  • 14. OPTIONAL PARENTHESES
  • 15. DOMAIN SPECIFIC LANGUAGE
  • 16. EVERYTHING IN RUBY EVALUATES TO TRUE EXCEPT FOR FALSE AND NIL.
  • 17. STRING INTERPOLATION
  • 18. STRING & SYMBOL
  • 19. STRING
  • 20. SYMBOL
  • 21. STRING VS. SYMBOL
  • 22. ARRAY
  • 23. SYMBOL
  • 24. ENUMERABLE(.EACH)
  • 25. FILE
  • 26. .MAP
  • 27. LAMBDA SYNTAX SUGAR
  • 28. __DIR__ VS. FILE.DIRNAME(__FILE__)
  • 29. INHERITANCE
  • 30. MIX-IN
  • 31. INCLUDE VS. INHERITANCE
  • 32. SELF VS. INCLUDE
  • 33. PREPEND VS. SELF
  • 34. HASH PARAMETERS
  • 35. KEYWORD PARAMETERS
  • 36. ????????
  • 37. IF STATEMENT?
  • 38. IF STATEMENT
  • 39. EXPRESSION-ORIENTED inpython:
  • 40. OPEN CLASS
  • 41. IN RAILS
  • 42. REFINEMENTS
  • 43. DON'T BE SURPRISED!
  • 44. THANK YOU!