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
Colin Howe:Re-writing Java classes in Scala - and making your code lovely, Re-writing Java classes in Scala - and m
Colin Howe : 8th Feb 2010
View Podcast: Re-writing Java classes in Scala - and making your code lovely,
Gojko Adzic:Using Cucumber for BDD and Agile Acceptance Testing, Using Cucumber for BDD and Agile accepta
Gojko Adzic : 4th Feb 2010
View Podcast: Using Cucumber for BDD and Agile Acceptance Testing,
Rob Nicholson:How is the world of IT going to change over the next two, five and ten years?, Rob Nicholson: Global Technology Outlook
Rob Nicholson : 27th Jan 2010
Podcast Coming Soon: How is the world of IT going to change over the next two, five and ten years?,
Mark Evans:Dragonfly, Dragonfly
Mark Evans : 13th Jan 2010
View Podcast: Dragonfly,
Daniel  Lucraft:Redcar, Redcar
Daniel Lucraft : 13th Jan 2010
View Podcast: Redcar,
Emma McGrattan:Waking up to the New Economics of IT, Waking up to the New Economics of IT
Emma McGrattan : 15th Dec 2009
View Podcast: Waking up to the New Economics of IT,
Peter Lubbers:BUILDING REAL-TIME APPLICATIONS WITH HTML5 WEBSOCKETS , REAL-TIME APPLICATIONS WITH HTML5
Peter Lubbers : 9th Dec 2009
Podcast Coming Soon: BUILDING REAL-TIME APPLICATIONS WITH HTML5 WEBSOCKETS ,
Alex  Young :Domain Driven Design, DDD
Alex Young : 9th Dec 2009
View Podcast: Domain Driven Design,
Rob  Holland:Javascript Stories, Javascript Stories
Rob Holland : 9th Dec 2009
View Podcast: Javascript Stories,
Russ Miles:ParkBench Panel Discussion with Pizza & Drinks, ParkBench Panel Discussion, Pizza & drin
Russ Miles : 9th Dec 2009
View Podcast: ParkBench Panel Discussion with Pizza & Drinks,
Guillaume LaForge:Groovy, to infinity and beyond!, Groovy & Grails eXchange Keynote
Guillaume LaForge : 9th Dec 2009
View Podcast: Groovy, to infinity and beyond!,
Russel Winder:Gant, the lightweight and Groovy targeted scripting framework, Gant, the Groovy targeted scripting fram
Russel Winder : 9th Dec 2009
View Podcast: Gant, the lightweight and Groovy targeted scripting framework,
Tareq Abedrabbo:Creating easy and secure SOAPful Web Services, Easy & secure SOAPful Web Services
Tareq Abedrabbo : 9th Dec 2009
View Podcast: Creating easy and secure SOAPful Web Services,
Venkat Subramaniam:Building DSLs: Marriage of High Essence and Groovy Metaprogramming, Building DSLs & Groovy Metaprogramming
Venkat Subramaniam : 9th Dec 2009
View Podcast: Building DSLs: Marriage of High Essence and Groovy Metaprogramming,
Tomas Lin:Building Killer RIAs with Flex and Grails, Building Killer RIAs with Flex and Grail
Tomas Lin : 9th Dec 2009
View Podcast: Building Killer RIAs with Flex and Grails,
OTHER RIA, AJAX & WEB EVENTS
Dojo Connect, Dojo Connect
CONFERENCE (3 DAYS)
Online, Wednesday, February 10th BOOK NOW!
London Ruby User Group:Lightning Talk Evening, London Ruby User Group
FREE EVENT: Lightning Talk Evening
London, Wednesday, February 10th
London Geek Nights:Hydras and Hypermedia , London Geek Nights
FREE EVENT: Hydras and Hypermedia
London, Thursday, February 11th
Adobe RIA User Group:Flex and Spring Integration:Introducing Spring BlazeDS Integration, Adobe RIA User Group
FREE EVENT: Spring Integration
London, Wednesday, February 17th
JAX London 2010, JAX London 2010
CONFERENCE (3 DAYS)
London, Monday, February 22nd BOOK NOW!
Peter Lubbers:HTML5 Communication: Using Web Sockets and more to build real-time Web applications,  HTML5 Communication: Using Web Sockets and more to
3 DAY COURSE. Featuring Peter Lubbers
London, Wednesday, February 24th
Peter Lubbers:HTML5 Communication: Using Web Sockets and more to build real-time Web applications,  HTML5 Communication: Using Web Sockets and more to
3 DAY COURSE. Featuring Peter Lubbers
Paris, Monday, March 1st
Sam Foster:Dojo Workshop,  Dojo Workshop
1 DAY COURSE. Featuring Sam Foster
London, Friday, March 5th
© 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: - Facilities Sales  jobs - marketing assistant  Save Bletchley Park  Spring Certification