Re: [btech-discussion] Note about modifying hudinfo
Brought to you by:
twouters
From: Thomas W. <th...@xs...> - 2002-09-01 14:56:50
|
On Sun, Aug 18, 2002 at 04:03:20PM -0700, Anthony Parker wrote: > Just so everyone's clear on some things, we should /really/ avoid modifying > hudinfo so that it breaks current clients. It's easy enough to update > current code, sure, but as it gets more popular, there are people out there > using older versions of HUDs that will probably have to stop working because > of a change in the core format of commands like 'hudinfo t'. This is why we have major and minor version numbers in hudinfo, as well as 'extentions'. I will not allow anything to break old clients unless we really really have to. I'd rather create a new command that displays the old information in a new way, and keep the old command. That said, keep in mind that the spec says specifically what to expect and what _not_ to expect. Do _not_ rely on the number of elements in a list-like response; the addition to 'hudinfo t' should not break any correctly written clients, even though to be more future-correct it should up the minor version number or add an extention flag. Back-from-vacation-ly y'rs, -- Thomas Wouters <th...@xs...> Hi! I'm a .signature virus! copy me into your .signature file to help me spread! |