On 17 Dec 2008, at 01:03, Melchior Franz wrote:
> + var KT2MPS = 0.51; # knots to m/s
> + var MPS2KT = 1 / KT2MPS;
> +
> var LB2KG = 0.45359237;# pounds to kilogram
> var KG2LB = 1 / LB2KG;
Personally I think all these constants would be easier to read if th
* James Turner -- Wednesday 17 December 2008:
> > + var KT2MPS = 0.51; # knots to m/s
> Personally I think all these constants would be easier to
> read if they were written the same way as the Simgear ones,
> i.e MPS_TO_KT, NM_TO_M and so on.
I find them equally easy to read
Melchior FRANZ wrote:
> * James Turner -- Wednesday 17 December 2008:
> > > + var KT2MPS = 0.51; # knots to m/s
>
> > Personally I think all these constants would be easier to
> > read if they were written the same way as the Simgear ones,
> > i.e MPS_TO_KT, NM_TO_M and so on.
On 17 Dec 2008, at 15:44, Syd wrote:
> I dont know if this makes sense to anyone else , but to me the first
> version is a word , the second option is a sentence :)
Agreed completely - the issue is, I think of all these things as
sentences (well, phrases, anyway) - so I find FOO2BAR rather lik
Melchior FRANZ wrote:
> * James Turner -- Wednesday 17 December 2008:
>
>>> + var KT2MPS = 0.51; # knots to m/s
>>>
>
>
>> Personally I think all these constants would be easier to
>> read if they were written the same way as the Simgear ones,
>> i.e MPS_TO_KT, NM_T
Melchior FRANZ wrote:
> var MPS_TO_KT = MPS2KT;
>
> What do other Nasal developers think? I'm willing to change it if
> others have problems with that, too. (And to change all occurrences
> in the repository.)
No problem here with shorter names for the constants. For me they are
easy to reco
6 matches
Mail list logo