mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Some more recommendations in HACKING.
This commit is contained in:
parent
173e5743e7
commit
d15442493c
1 changed files with 7 additions and 0 deletions
7
HACKING
7
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.
|
||||
|
|
Loading…
Add table
Reference in a new issue