Some more recommendations in HACKING.
This commit is contained in:
parent
173e5743e7
commit
d15442493c
7
HACKING
7
HACKING
@ -28,3 +28,10 @@ Here are the highlights:
|
|||||||
x = 1
|
x = 1
|
||||||
y = 2
|
y = 2
|
||||||
long_variable = 3
|
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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user