bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] ⎕TZ should not be saved


From: Juergen Sauermann
Subject: Re: [Bug-apl] ⎕TZ should not be saved
Date: Sat, 12 Sep 2015 11:55:08 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Hi Blake,

yes, the discussion was to change ⎕TZ on )LOAD. The general strategy of GNU APL to save
as much information as possible because some information that looks like not being used today
may become relevant at a later point in time.

Removing ⎕TZ would not help with source control system, because there is another timestamp
in the workspace file that changes as well when the workspace is )DUMPed or )SAVEd. Also,
the order of objects in a workspace file may change when a workspace is )LOADed and then
)SAVEd again.

Therefore a source control system would detect a change in the file even if we would not store ⎕TZ.
And I believe that is good because the state of the workspace has in fact changed, even though the
variables or functions inside the workspace have not.

/// Jürgen




On 09/10/2015 04:48 AM, Blake McBride wrote:
Sorry.  I now remember this is a topic we covered before and a change was made so the )LOAD ignored ⎕TZ.  That works.

The thing that brought the problem up is because a garbage/unused ⎕TZ, although not loaded, is saved.  This creates problems with source code control systems because ⎕TZ may keep changing artificially when two developers are working on the same code but in different time zones.

Bottom line - ⎕TZ should not be saved.

Thanks.

Blake


On Wed, Sep 9, 2015 at 9:10 PM, Blake McBride <address@hidden> wrote:
Greetings,

⎕TZ should not be saved with SAVE or DUMP.  I should be able to count on ⎕TZ containing the locally applicable time zone - not the one the developer had!  If, for some reason the developer wants to change ⎕TZ, it should be done explicitly in a function.  A global value should never be saved.

Blake




reply via email to

[Prev in Thread] Current Thread [Next in Thread]