|
|
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
ABOUT THE LONDON RUBY USER GROUP
|
LRUG is the London Ruby User Group; a community of ruby developers based in and around London. We meet up at least once a month; on the 2nd Wednesday of the month we have meetings with talks, demos and such-like and then we have pub-based meetups organised on an ad-hoc basis (roughly half-way between meetings).
More about the London Ruby User Group
|
|
PODCAST RUBY VS. THE WORLD
This session took part at the LRUG Meeting, December. You can view the other 1 podcast here.
|
JAVASCRIPT & HTML5 COURSES
|
JAVASCRIPT & HTML5 PODCASTS
|
OTHER JAVASCRIPT & HTML5 EVENTS
|
Official RNIB Accessibility Hackathon
CONFERENCE (2 DAYS)
London, Saturday, February 11th
BOOK NOW!
|
|
Russel Winder's Python Workshop
4 DAY COURSE. Featuring Russel Winder London, Monday, February 13th
|
|
Coding Kata
FREE EVENT:
In The Brain of Damjan Vujnovic
London, Wednesday, February 15th
|
|
London Ruby User Group
FREE EVENT:
LRUG lightning
London, Tuesday, February 21st
|
|
QCon London 2012
CONFERENCE (3 DAYS)
London, Wednesday, March 7th
BOOK NOW!
|
|
Elevate Events
FREE EVENT:
elevate-launch-event
London, Wednesday, March 7th
|
|
Peter Lubbers' HTML5 Fast Track Course
2 DAY COURSE. Featuring Peter Lubbers New York, Wednesday, March 14th
|
|
Peter Lubbers' HTML5 “Fast Track”
2 DAY COURSE. Featuring Peter Lubbers London, Tuesday, March 20th
|
|
|
|