public inbox for [email protected]  
help / color / mirror / Atom feed
From: Jorge Godoy <[email protected]>
To: Listmail <[email protected]>
Cc: [email protected]
Subject: Re: programmatic way to fetch latest release for a given major.minor version
Date: Tue, 10 Apr 2007 13:48:08 -0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <op.tqkf8tm5zcizji@apollo13>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<op.tqkf8tm5zcizji@apollo13>

Listmail <[email protected]> writes:

>>> Yeah yeah, but terminology aside, having 2 or three digits in each
>>> attribute is just wrong!
>>
>> Terminology aside, why? The unit is "8.1" not "8" and "1". It makes no
>> sense to say you're on version 8, in the given context, so why should the
>> XML data pretend there is?
>>
>> //Magnus
>
> 	Just pretend that :
>
> 	- version = a tuple of integers (a, b, c, ...)
> 	- major = (a, b)
> 	- minor = (c, ...)
>
> 	Besides, that is sortable (unlike strings where 15 < 2) :

But then, floats are as sortable as integers and 8.3 < 15.1...


-- 
Jorge Godoy      <[email protected]>



view thread (30+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: programmatic way to fetch latest release for a given major.minor version
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox