All those are ways of calling string in C? Why are there so many?
this post was submitted on 08 Jan 2022
17 points (100.0% liked)
Programmer Humor
32503 readers
468 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
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