From d15442493ca967923b2113d30799d2307457e356 Mon Sep 17 00:00:00 2001 From: Alex Dedul Date: Wed, 18 Jul 2007 18:56:50 +0000 Subject: [PATCH] Some more recommendations in HACKING. --- HACKING | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/HACKING b/HACKING index 97e9fa63b..e73162003 100644 --- a/HACKING +++ b/HACKING @@ -28,3 +28,10 @@ Here are the highlights: x = 1 y = 2 long_variable = 3 + +Some more recommendations: + * Try to use iterators/generators where applicable. The simplest change from + range to xrange is also good. + * In UI and deluge code for consistency we use notion of speed not rate. + Libtorrent mixes this usage and so do we on deluge-libtorrent boundary, + but all deluge only code should use speed.