LoginSignup
0
0

More than 5 years have passed since last update.

技術英語 > In Python, indentation determines how the if and else sections [are paired].

Last updated at Posted at 2017-02-26

@ Introducing Python: Modern Computing in Simple Packages by Bill Lubanovic
(No. 1993 / 12833)

In Python, indentation determines how the if and else sections are paired.



be pairedから思い出したのは「対称性」

naming > Link > Complement names must be used for complement operations

対称性があることで、ソースリーディングがしやすくなる。

対称性がないAPIにしてしまうと、ソースリーディングやAPIドキュメントの検索時に余分な時間がかかるようになる。
C++ Builder / Indy > TStreamの送信 > WriteStream()でなくWrite()のようだ

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0