#rust thoughts: #shadowing feels a lot like javascript. Not a bad thing, but definitely gives me that vibe
英語の朗読を短いクリップにしてお届けしています。
★再生画面の設定(歯車)ボタンで再生速度を変えて聴くことが出来ます★
0.75倍で2回
0.5倍で2回
1.25倍で2回
1.5倍で2回
再生して聴いてみました。
オモシロイ!
Source: LibriVox
#listening #overlapping #shadowing
@flipsideza same name - that's not a Rust-ism.
I first came across it in C; it's probably older than that.
Python has the `global` keyword to use a global scope var in a local function vs "shadowing" it with a local of the same name (check details in pydoc)
Using type hinting in Python can help avoid problems where a variable is reused for a different purpose and type, but it doesn't have fully immutable variables, unlike other langs
#shadowing #variables #python #typehints #programmingterms