English

Navigation
Powered by Squarespace
Foobaruy mwe

Buy my book on <a href="lulu.com">lula</a>

« Don't write from scratch | Main | Vollzeit Ruby on Rails programmieren!? (Reactivated) (Closed) »
Sonntag
Jun222008

on the edge

Just a short note to direct you to a great post over at rubyonrails.com (some days old, i know...but i can not in the office right now and can not access the internet everyday. Yes... this exists :-) ). Chuw Yeo June wrote about API changes and performance tests. The API gets some new methods which make your life easier and at the same time are a bit confusing. Sample ? Here you go:

Object.present? method was added which is the same as not Object.blank? which is the same as Enumerable.any?

Three ways to do the same thing (as long as you are working on Enumerable). I think this is confusing and clutters the API.

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>