Ruby on Rails Thursday, August 4, 2016


 Someone once tried to convince me that something like the following is bad form:

 if obj = get_client
  ..
end

 Not sure why it matters that much or if it should always be avoided .. any thoughts ?

This used to be very typical in C


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c1cea95a-8fce-424a-946a-ba74a9ff13ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment