消息 [152133]
On Fri, Jan 27, 2012 at 5:17 PM, Antoine Pitrou <report@bugs.python.org> wrote:
> Well, creating a separate module is an anti-pattern in itself. calendar vs. time vs. datetime, anyone?
Are you serious? Since the invention of structural programming,
creating a separate module for distinct functionality has been one of
the most powerful design techniques. If I recall correctly, most of
the original GoF patterns were about separating functionality into a
separate module or a separate class. The calendar module is indeed a
historical odd-ball, but what is wrong with time and datetime? |
|
| 日期 |
用户 |
动作 |
参数 |
| 2012-01-27 22:25:23 | Alexander.Belopolsky | 修改 | recipients:
+ Alexander.Belopolsky, loewis, belopolsky, pitrou, vstinner, Arfrever |
| 2012-01-27 22:25:22 | Alexander.Belopolsky | 链接 | issue13882 messages |
| 2012-01-27 22:25:22 | Alexander.Belopolsky | 创建 | |
|