- Rust part9
565 :デフォルトの名無しさん[sage]:2021/01/10(日) 13:02:46.89 ID:fqhi9u3I - 保証されてるんじゃない?
でも呼び出し順が重要なら行を分けて書いてからtupleに入れたほうがいいような気もする The meaning of each kind of expression dictates several things: ・Whether or not to evaluate the sub-expressions when evaluating the expression ・The order in which to evaluate the sub-expressions ・How to combine the sub-expressions' values to obtain the value of the expression https://doc.rust-lang.org/reference/expressions.html
|
- Rust part9
566 :デフォルトの名無しさん[sage]:2021/01/10(日) 15:22:53.59 ID:fqhi9u3I - 評価順序についてはもう少しわかりやすくリファレンスを更新する予定みたい
https://github.com/rust-lang/reference/blob/964dc5bab5f7418aea36233c271ceedaea216598/src/expressions.md#evaluation-order-of-operands https://github.com/rust-lang/reference/pull/888/
|
- くだすれPython(超初心者用) その52【まず1嫁】
5 :デフォルトの名無しさん[sage]:2021/01/10(日) 15:41:23.59 ID:fqhi9u3I - >>3
strip() or inspect.cleandoc() https://paiza.io/projects/eHfooTedeaj4X-_Xtw6flw
|
- Kotlin 7
532 :デフォルトの名無しさん[sage]:2021/01/10(日) 22:08:14.99 ID:fqhi9u3I - whileループでbreakすればいい
|