Hi Nathan,

Nathan Jones schrieb am 31.10.2011 09:11:
> I'm not a fan of documentation that duplicates information that is
> already captured in code. The database schema is described in ddbb.py
> so I would prefer to delete that wiki page. 

You're right, the schema at top of ddbb.py is fine, but it only defines
the variables and *type* of their DB representation. It doesn't tell you
about the physical units, meaning of content or their status (eg being
deprecated).

So 'distance' in table 'records' is given in kilometers, where
'distance' in 'laps' is defined in meters.

Other lengths are also sometimes defined in [m] or [km]. And because we
already have unit & representational problems for a long time (probably
since the beginning ;) I once wanted to collect as much info as
possible, which otherwise is scattered all over the code (and often
enough is given only _implicit_).

Regards,
Arnd



------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Pytrainer-devel mailing list
Pytrainer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytrainer-devel

Reply via email to