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:

founded 5 years ago
MODERATORS
 
top 4 comments
sorted by: hot top controversial new old
[–] gary_host_laptop@lemmy.ml 0 points 2 years ago (1 children)

All those are ways of calling string in C? Why are there so many?

[–] gun@lemmy.ml 1 points 2 years ago (1 children)
[–] gary_host_laptop@lemmy.ml 0 points 2 years ago (1 children)
[–] jet@hackertalks.com 2 points 1 year ago

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