The future of the keyword (inout) in Mojo 🔥 #1463
mojo-for-ai
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
I agree with you, I think that the keyword (inout) It confuses programmers, at least from my personal experience |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
According to my simple knowledge in Mojo 🔥, I believe that the keyword (inout) performs the same function as the keyword (mutref). Why don’t we get rid of (inout) in favor of (mutref). I mean (inout) confuses any programmer when reading it, as it has no real meaning except to confuse beginners in Mojo 🔥 I hope with all my heart that Chris Lattner removes this keyword from Mojo 🔥,I also hope that the keyword (borrowed) will be reconsidered. I think it performs the same job as the keyword (ref). Why don’t we delete (borrowed) in favor of (ref)?
Beta Was this translation helpful? Give feedback.
All reactions