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.

back

Leave a Reply