- オブジェクト指向なんて今すぐやめてください
761 :デフォルトの名無しさん[sage]:2014/08/23(土) 02:33:58.45 ID:5f63ip/R - 俺は頭悪いので、構造化だと破綻したり、同じようなコードになって修正が大変。
オブジェクト指向だと、そうはならない。
|
- オブジェクト指向なんて今すぐやめてください
764 :デフォルトの名無しさん[sage]:2014/08/23(土) 05:16:28.65 ID:5f63ip/R - >>763
1関数で数千行とか、1クラス全てstaticとかやりようはある。 案外おまえがそんなんで、俺ってオブジェクト指向だぜとか言ってそう。
|
- ★初心者以前の質問に雪崩のように答えるスレ 2★
570 :デフォルトの名無しさん[sage]:2014/08/23(土) 18:47:18.79 ID:5f63ip/R - >>569
開発手法の一部である要件分析や設計はプログラムとは直接関係ない。
|
- Pythonのお勉強 Part49
675 :デフォルトの名無しさん[sage]:2014/08/23(土) 19:18:40.08 ID:5f63ip/R - >> 674
ドキュメントは読もうと思えばpython単体でも読める。 $ python -c 'print(int.__doc__)' int(x[, base]) -> integer Convert a string or number to an integer, if possible. A floating point argument will be truncated towards zero (this does not include a string representation of a floating point number!) When converting a string, use the optional base. It is an error to supply a base when converting a non-string. If base is zero, the proper base is guessed based on the string content. If the argument is outside the integer range a long object will be returned instead. ipythonで補完と合わせて読むことが多い。 In [1]: int? Type: type Base Class: <type 'type'> String Form: <type 'int'> Namespace: Python builtin Docstring: int(x[, base]) -> integer Convert a string or number to an integer, if possible. A floating point python動く筈って言うと、python自体動かないように聞こえる。
|
- ★初心者以前の質問に雪崩のように答えるスレ 2★
572 :デフォルトの名無しさん[sage]:2014/08/23(土) 21:42:53.55 ID:5f63ip/R - ダメだこりゃ
|
- ★初心者以前の質問に雪崩のように答えるスレ 2★
574 :デフォルトの名無しさん[sage]:2014/08/23(土) 23:53:16.76 ID:5f63ip/R - 思い込みで凝り固まってるのに教えるのは大変。
|