4
submitted 2 years ago by miguel@lemmy.ml to c/programmerhumor@lemmy.ml
top 4 comments
sorted by: hot top controversial new old
[-] gary_host_laptop@lemmy.ml -1 points 2 years ago

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

[-] gun@lemmy.ml 1 points 2 years ago
[-] gary_host_laptop@lemmy.ml -1 points 2 years ago
[-] 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

this post was submitted on 08 Jan 2022
4 points (100.0% liked)

Programmer Humor

32061 readers
1377 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS