Upgrade to Pro — share decks privately, control downloads, hide ads and more …

#IxDT - Ruby tuesday

#IxDT - Ruby tuesday

La rivoluzione degli "Happy Miners" nelle start up e non solo...

manuela

May 13, 2013
Tweet

More Decks by manuela

Other Decks in Programming

Transcript

  1. Language and Syntax Everything is an object, as it should

    be 5.times { print "Odelay!" } front_door.open front_door.is_open? front_door.paint( 3, :red ).dry(30) .close()
  2. Describe behaviour The text is written in a business-readable domain-specific

    language and serves as documentation, automated tests and development-aid - all rolled into one format Feature: Cash Withdrawal Scenario: Successful withdrawal from an account in credit Given I have deposited $100 in my ac- count When I request $40 Then $20 should be dispensed
  3. Step definitions Developer point of view on automated tests When

    /^I request \$(\d+)$/ do |arg1| pending # express the regexp above with the code you wish you had end Then /^\$(\d+) should be dispensed$/ do |arg1| pending # express the regexp above with the code you wish you had end
  4. GITHUB ≈ The Ruby on Rails source code is hosted

    on Github. Github itself is built with RoR (in part) A few of the Github team are active in the Ruby community and associated open source projects.
  5. THIS IS WHY I'M AN HAPPY MINER ≈ HTTP://BLOG.IDYLLIC-SOFTWARE.COM/BLOG/BID/206209/WHY- ENTREPRENEURS-LOVE-RUBY-ON-RAILS-FOR-WEB-DEVELOPMENT

    HTTP://WWW.QUORA.COM/Y-COMBINATOR/WHY-DO-MANY-Y-COMBI NATOR-COMPANIES-USE-RUBY-ON-RAILS HTTP://WWW.QUORA.COM/RUBY-ON-RAILS/WHY-DO-SO-MANY-STA RTUPS-USE-RUBY-ON-RAILS HTTP://STACKOVERFLOW.COM/QUESTIONS/1586601/WHY-ARE-RU BY-PROJECTS-SO-DOMINANT-AT-GITHUB