realbasic-nug
[Top] [All Lists]

Re: random seed generator?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: random seed generator?
From: Fargo Holiday <fargo at rpgportland dot com>
Date: Wed, 29 Nov 2006 21:40:51 -0800
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20061129224419 dot B87096AA7C9 at mail dot verex dot com> <0B55017F-E0FC-4F17-9A1C-DC682BADCF6C at comcast dot net> <1824 dot 192 dot 168 dot 2 dot 145 dot 1164842597 dot squirrel at ego> <20061130013618 dot 3272676D03 at isis dot visi dot com>
Yeah, I can see that Craig.

Joe- I see. Coming from C++ and PHP I just figured it was like those two, where it started with it being a required bit and later moved to the optional realm. Fun little factoid, and thank you for enlightening me.

Later,
Fargo

Craig A. Finseth wrote:
        ...
   I imagine that the case is similar to PHP, where they moved to a self
   seeding model later, but kept the manual seed function to avoid breaking
   older applications and to allow you room to experiment.
        ...

Self-seeding is good because it's hard to come up with a quick and
easy seed (time, process ID, and that ilk aren't the best).

Having an explicit seed is important when debugging so that you can
get reproducability!

Craig
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>