From: Joshua Muheim Date: 2008-06-19T06:08:00+09:00 Subject: Re: Rather validate values or use exceptions? ara.t.howard wrote: > On Jun 18, 2008, at 1:26 PM, Joshua Muheim wrote: > >> When looking at it, the second one looks cleaner to me, but what would >> you say? Maybe the first one is quite faster than the second one? > > the first method is a classic race condition. if you care about > things like that use the second. > > a @ http://codeforpeople.com/ After googling for Race Condition I guess I know now what this should be, but I don't know how to avoid it...? Any suggestions? :-) -- Posted via http://www.ruby-forum.com/.