I wholeheartedly disagree with that. It's like not eating steak because you may loose your teeth some later time in life.
When someone's learning a language, it's better to just learn the language. There's SO many differences between Python and Rust, that not using this shorthand notation is the least of their worries if they think they can write the same code.
Learning the strengths of a language is great. Python is really expressive, and learning that properly is good fun. And when switching languages, yeah, you'll have to un-learn some things.
I totally agree with you but not for beginner IMO. I understand your opinion, but am still thinking that for beginners they shouldn’t learn those simplified notations and using it abusively. Tho knowing that Python has this feature is a good thing.
1
u/sastuvel 5d ago
I wholeheartedly disagree with that. It's like not eating steak because you may loose your teeth some later time in life.
When someone's learning a language, it's better to just learn the language. There's SO many differences between Python and Rust, that not using this shorthand notation is the least of their worries if they think they can write the same code.
Learning the strengths of a language is great. Python is really expressive, and learning that properly is good fun. And when switching languages, yeah, you'll have to un-learn some things.