Message100449
Le Fri, 05 Mar 2010 02:21:30 +0000,
Alexander Belopolsky <report@bugs.python.org> a écrit :
>
> Code duplication is unavoidable because the goal is to give access to
> machine arithmetics which means (# types) x (# operations) of very
> similar looking functions. I considered reducing (perceived) code
> duplication through some pre-processor magic, but doing so would make
> code much harder to understand and almost impossible to debug.
Carefully written macros shouldn't be hard to understand.
At least there wouldn't be the risk of overlooking one of the methods
when making modifications. |
|
Date |
User |
Action |
Args |
2010-03-05 02:26:43 | pitrou | set | recipients:
+ pitrou, arigo, theller, rhettinger, bob.ippolito, mark.dickinson, belopolsky, fredrik_j, Alexander.Belopolsky |
2010-03-05 02:26:41 | pitrou | link | issue887237 messages |
2010-03-05 02:26:41 | pitrou | create | |
|