|
|
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
|
Progressive .NET Tutorials 2012
CONFERENCE (3 DAYS)
London, Tuesday, May 29th
BOOK NOW!
|
|
The London Python Group
FREE EVENT:
Python code review
London, Wednesday, June 6th
|
|
Dutch Mobile Conference
CONFERENCE (3 DAYS)
Amsterdam , Thursday, June 7th
BOOK NOW!
|
|
London Ruby User Group
FREE EVENT:
ElasticSearch
, Monday, June 11th
|
|
Gavin Bell's Social Applications
2 DAY COURSE. Featuring Gavin Bell London, Thursday, June 14th
|
|
QCon New York 2012
CONFERENCE (3 DAYS)
New York, Monday, June 18th
BOOK NOW!
|
|
Typesafe's Fast Track to Play
1 DAY COURSE. London, Friday, June 22nd
|
|
Damjan Vujnovic's Advanced JavaScript Workshop
2 DAY COURSE. Featuring Damjan Vujnovic London, Monday, June 25th
|
|
|
|