4
How we see strings Rust/C
(lemmy.ml)
All those are ways of calling string in C? Why are there so many?
In Rust, and I don't know
Isn't it a bad thing?
Not necessarily a bad thing. If your method of invocation gives context about its possible use cases. You can make the program more safe because you know it's being used appropriately. If you're just passing a pointer around anything could happen to it. So it's hard to help the programmer not make mistakes
Post funny things about programming here! (Or just rant about your favourite programming language.)