?:

Pocket

諸事情でBlocksKitのソースを見てたら、

というコードがあった。

と同じ意味らしい。こんな書き方できたのか…。

つまり、よく書くシングルトンの初期化も、

じゃなく、

とか書けるわけか。

知らなかった。恥ずかしい。


コメントを残す

Your email address will not be published. Please enter your name, email and a comment.