1 / 30

Ruby <3 .NET

Ruby <3 .NET. Ivan Porto Carrero http:// flanders.co.nz. The plan. CLR, DLR, WTF?? All ur Rubyz are now belongs to us Ruby why should I care? Using RSpec for BDD Ruby + WPF => RAD but pretty Ruby + Silverlight == Ruby in the browser. CLR as we knew it. VB.NET. …. C#.

diamond
Download Presentation

Ruby <3 .NET

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Ruby <3 .NET Ivan Porto Carrero http://flanders.co.nz

  2. The plan • CLR, DLR, WTF?? • All urRubyz are now belongs to us • Ruby why should I care? • Using RSpec for BDD • Ruby + WPF => RAD but pretty • Ruby + Silverlight == Ruby in the browser

  3. CLR as we knew it VB.NET … C# Base Class Libraries Common Type system Security Class Loader, GC, JIT, Execution Support • Common Language Runtime

  4. A better CLR VB.NET IronPython C# Base Class Libraries DLR Runtime Common Type system Security Class Loader, GC, JIT, Execution Support • Common Language Runtime

  5. All urRubyz are now… • MRI ‐ “The Normal” Ruby • JRuby ‐ Sun • MacRuby ‐ Apple • IronRuby ‐ Microsoft • Rubinius ‐ EngineYard • MagLev ‐ Gemstone • HotRuby

  6. Why should I care? For me the purpose of life is partly to have joy. Programmers often feel joy when they can concentrate on the creative side of programming, so Ruby is designed to make programmers happy. - Yukihiro “Matz” Matsumoto

  7. Why should I care? Actually, I'm trying to make Ruby natural, not simple. - Yukihiro “Matz” Matsumoto

  8. Best of breed If Python was the result of Lisp and C++ having a baby,Ruby is the result of Perl and Smalltalk having a baby.--MeowMeow Jones, 11/8/2001 on slashdot.

  9. Duck typing If it looks like a duck and acts like a duck it might as well be a duck

  10. Metaprogramming The computer should be doing the hard work. That's what it's paid to do, after all.-- Larry Wall

  11. Metaprogramming I don’t think the idea here is to save memory or speed. The idea behind metaprogramming is to teach Ruby your conventions and let it do some guessing, in order to save you some code. – Why, author of why’s poignant guide to Ruby

  12. STOP!!!! Demo time

  13. REPL ReadEval Print Loop ReadEval Print Loop ReadEval Print Loop ReadEval Print

  14. STOP!!!! Demo time

  15. Everything is an object I invented the term Object-Oriented, and I can tell you I did not have C++ in mind.-- Alan Kay

  16. STOP!!!! Demo time

  17. Classes are open

  18. STOP!!!! Demo time

  19. CLR classes open for business Isn't this dangerous? What if someone changes the logic of + for math expressions? No, because if one of your programmers overrides methods that break things – you take them out in the parking lot and beat them with a rubber hose! The language shouldn't prohibit us from doing powerful things. -- http://raibledesigns.com/rd/entry/oscon_monday_morning

  20. STOP!!!! Demo time

  21. Adding Iron to Ruby I have always imagined that Paradise will be a kind of library.-- Jorge Luis Borges

  22. STOP!!!! Demo time

  23. Kweshiunz?

  24. “A language that doesn't affect the way you think about programming is not worth knowing.” --Alan Perlis

  25. References • http://flanders.co.nz • http://ironruby.net • http://iunknown.com • http://manning.com/carrero • http://rubydoes.net • http://blog.prokrams.com/ • http://nightlybuilds.cloudapp.net/Project.aspx?project=dlr

  26. go_to(http://ironruby.net).play.create.have_fun

More Related