回答編集履歴
3
横道に逸れそうなので削除。
test
CHANGED
@@ -19,11 +19,3 @@
|
|
19
19
|
◇参考情報
|
20
20
|
|
21
21
|
[Understanding the search syntax](https://help.github.com/articles/understanding-the-search-syntax/)
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
---
|
26
|
-
|
27
|
-
Python言語で大規模なプロジェクトに関わった経験が無いため、あまり確信を持って言えませんが、
|
28
|
-
|
29
|
-
質問文を見て少し気になった点が、プログラム上で直接現在日付を取り扱うと、日付をテスト時に大変なので、独自の日付クラスを作成することが多いのではないでしょうか、例えばClockクラスを宣言してdatetime.now()はそこでしか使わない。
|
2
追記
test
CHANGED
@@ -19,3 +19,11 @@
|
|
19
19
|
◇参考情報
|
20
20
|
|
21
21
|
[Understanding the search syntax](https://help.github.com/articles/understanding-the-search-syntax/)
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
---
|
26
|
+
|
27
|
+
Python言語で大規模なプロジェクトに関わった経験が無いため、あまり確信を持って言えませんが、
|
28
|
+
|
29
|
+
質問文を見て少し気になった点が、プログラム上で直接現在日付を取り扱うと、日付をテスト時に大変なので、独自の日付クラスを作成することが多いのではないでしょうか、例えばClockクラスを宣言してdatetime.now()はそこでしか使わない。
|
1
リンクがまちがってるううううう。
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
|:--|:--:|:--:|
|
10
10
|
|
11
|
-
|[import datetime](https://github.com/search?l=Python&q=%22import+datetime%22+NOT+%22from+datetime%22&type=Code)|"import datetime" NOT "from datetime import datetime"|3,198,952|
|
11
|
+
|[import datetime](https://github.com/search?l=Python&q=%22import+datetime%22+NOT+%22from+datetime+import+datetime%22&type=Code)|"import datetime" NOT "from datetime import datetime"|3,198,952|
|
12
12
|
|
13
13
|
|[from datetime import datetime](https://github.com/search?l=Python&q=%22from+datetime+import+datetime%22&type=Code)|"from datetime import datetime"|1,851,301|
|
14
14
|
|