Your SlideShare is downloading. ×
  • Like
Functional Programming with Ruby
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Functional Programming with Ruby

  • 15,686 views
Published

This presentation shows how to apply functional programming principles to Ruby. It covers some theoretical principles but also code examples.

This presentation shows how to apply functional programming principles to Ruby. It covers some theoretical principles but also code examples.

Published in Technology , Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • @tokland Aaand I just realized that you have actually used `Hash#[]` and explained why you don't like it on Slide #29 (How in the world did I misread the code?!). Now that I tried out `mash()` in IRB, I fully see your rational and I appreciate the elegance of the solution. Thanks for your reply.
    Are you sure you want to
    Your message goes here
  • @ysulaiman I am aware of Hash[...], check my whole rationale here: http://bugs.ruby-lang.org/issues/666#note-6 Basically my point is that Hash[...] breaks OOP flow (we want a method!) and builds an intermediate array (while mash is an enumerable method and performs the key/value transformation on the fly).
    Are you sure you want to
    Your message goes here
  • Thanks for sharing this informative presentation.

    Regarding the example of converting an Enumerable (Array) to a Hash on Slide #28, and under Ruby 1.9.2 or higher, why not use the new form of the `Hash#[]` method as in the following gist?
    https://gist.github.com/4453725
    Are you sure you want to
    Your message goes here
  • Really funny
    Are you sure you want to
    Your message goes here
  • nice.. thx
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
15,686
On SlideShare
0
From Embeds
0
Number of Embeds
3

Actions

Shares
Downloads
213
Comments
7
Likes
44

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