HOME JAVA & JEE OPEN SOURCE .NET WEB & RIA CLOUD & GRID ARCHITECTURE & DDD AGILE PM & SCRUM AGILE TESTING & BDD OS, MOBILE & SERVER  
London Ruby User Group:Ruby vs. The World
Ruby vs. The World
Matthew Rudy Jacobs has been comparing Ruby against how other languages do similar things. In this talk he's going to present his findings and suggest some things that as Rubyists we might learn from our alternate language using brethren.

Review:
As part of the December 2008 LRUG meeting, Matthew Rudy Jacobs introduces the topic he's been working on for the past few weeks: taking features that already exist in other languages and implementing them in Ruby. It is a very informative presentation whereby he guides you through the reasons why it might be useful and how he did it. Matthew used a very interesting method for his "slides" - he opened a massive pdf file that he proceeded to zoom in on for each 'slide!' You can find the presentation in the link below.

The first feature that Matthew implements in Ruby is Doctesting (using DocStrings) from Python. The idea is that you can include a test within the DocString, a testing framework will then look for this test and execute it. The second idea is from Jango - by assigning a field type, the language can already know how to validate it without the need to go for regexp to check it. This looks to be a very useful tool, especially in applications with the ability to check that email address and even Postcodes are the correct type, for example.

The other three ideas introduced by Matthew are: the inclusion of Aspects as done in AspectJ for Java; classey tee, which is a method to allow a form of Class Table Inheritance; and code-free templating. Perhaps the most interesting is the last one - a control that ensures you don't overuse too many database calls.

All of the code can be found here.
Review by David Mulholland
Download the slides here

ABOUT MATTHEW RUDY JACOBS
Matthew is a web developer, photographer, and self described film geek.
More about Matthew Rudy Jacobs
PODCAST RUBY VS. THE WORLD
Digg! StumbleUpon
RIA, AJAX & WEB PODCASTS
Nicolas Yuen:Accessibility API in Flex, nicolas yuen accessibility API in Flex
Nicolas Yuen : 17th Mar 2010
View Podcast: Accessibility API in Flex,
Chris Parsons:Software Craftsmanship Ideas & Eden, Software Craftsmanship Ideas & Eden
Chris Parsons : 10th Mar 2010
View Podcast: Software Craftsmanship Ideas & Eden,
Corey Haines:Software Craftsmanship Terminology, Software Craftsmanship Terminology
Corey Haines : 10th Mar 2010
View Podcast: Software Craftsmanship Terminology,
Cagatay Civici:PrimeFaces: Next Generation JSF Component Suite, PrimeFaces: Next Generation JSF Componen
Cagatay Civici : 3rd Mar 2010
View Podcast: PrimeFaces: Next Generation JSF Component Suite,
Karl Widmer:Integrating JSF with Spring Web Flow, Integrating JSF with Spring Web Flow
Karl Widmer : 3rd Mar 2010
View Podcast: Integrating JSF with Spring Web Flow,
Rick Evans:Flex and Spring Integration:Introducing Spring BlazeDS Integration, Flex and Spring Integration
Rick Evans : 17th Feb 2010
View Podcast: Flex and Spring Integration:Introducing Spring BlazeDS Integration,
Ian Robinson:Hydra and Hypermedia, Hydra and Hypermedia
Ian Robinson : 11th Feb 2010
View Podcast: Hydra and Hypermedia,
Paul Ardeleanu:Rails & iPhone Integration , Rails & iPhone Integration
Paul Ardeleanu : 10th Feb 2010
View Podcast: Rails & iPhone Integration ,
Alex  MacCaw:Bowline: A Ruby GUI Framework, Bowline: A Ruby GUI Framework
Alex MacCaw : 10th Feb 2010
View Podcast: Bowline: A Ruby GUI Framework,
Anup Narkhede:Architecture of Birdpie, a Twitter Application, Architecture of Birdpie, a Twitter Appli
Anup Narkhede : 10th Feb 2010
View Podcast: Architecture of Birdpie, a Twitter Application,
Murray Steele:Fibers in Ruby 1.9, Fibers in Ruby 1.9
Murray Steele : 10th Feb 2010
View Podcast: Fibers in Ruby 1.9,
Murray Steele:Introduction, Introduction
Murray Steele : 10th Feb 2010
View Podcast: Introduction,
Joel Chippindale:Show Off, a Ruby-Based HTML Presentation Software, Show Off, a Ruby-Based HTML Presentation
Joel Chippindale : 10th Feb 2010
View Podcast: Show Off, a Ruby-Based HTML Presentation Software,
Brent  Snook:Decorating the Domain - Wrapping Polymorphic Presentation Logic Around the Model, Decorating the Domain
Brent Snook : 10th Feb 2010
View Podcast: Decorating the Domain - Wrapping Polymorphic Presentation Logic Around the Model,
Ismael Celis:Using Websockets with EventMachine, Using Websockets with EventMachine
Ismael Celis : 10th Feb 2010
View Podcast: Using Websockets with EventMachine,
OTHER RIA, AJAX & WEB EVENTS
:Object-Oriented ActionScript - Beginners,  Object-Oriented ActionScript - Beginners
1 DAY COURSE.
Paris, Tuesday, March 30th
:Introduction to Adobe Flex,  Adobe Flex Intro
1 DAY COURSE.
Paris, Tuesday, April 13th
Alan Cassar:Developing Mobile Applications with Android,  Android Mobile App Development
3 DAY COURSE. Featuring Alan Cassar
London, Wednesday, April 14th
:Adobe Flex for Flash Developers,  Adobe Flex for Flash Developers
1 DAY COURSE.
Paris, Monday, April 19th
Andrew Chalkley:Core RoR: Web Development With Ruby on Rails,  Ruby on Rails Web Development
4 DAY COURSE. Featuring Andrew Chalkley
Paris, Tuesday, April 20th
:Developing Mobile Applications with Android,  Android Mobile App Development
3 DAY COURSE.
Paris, Wednesday, April 21st
Peter Lubbers:HTML5 Communication: Using Web Sockets and more to build real-time Web applications,  HTML5 Communication: Using Web Sockets & more too
3 DAY COURSE. Featuring Peter Lubbers
London, Wednesday, April 21st
:Beginning Adobe AIR - Building your first applications,  Adobe AIR Intro
1 DAY COURSE.
Paris, Monday, April 26th
© Copyright 2003-2010, Skills Matter Ltd
  Web development by You In Control
About Us  Jobs  Find Us  Meeting & Training Rooms  Newsletter  Community  Community-FR  Apress  1st Teach  Jobs: Sales Executive  Jobs: Student Podcaster  jobs - marketing assistant  Spring Certification