What is Nostr?
*((char *)NULL) = '\0'; /
npub1s63…qlxw
2024-08-30 14:18:16
in reply to nevent1q…vs83

*((char *)NULL) = '\0'; on Nostr: I've seen way too many projects in C that abuse globals so heavily, and I'll never ...

I've seen way too many projects in C that abuse globals so heavily, and I'll never understand it...

I mean, sure they seem handy when you start a small project, but they ALWAYS get out of hand and messy quick.

I tend to define a structure for my globals. Not a perfect solution, but far less messy at least.
Author Public Key
npub1s63frtttl20nmpkjz2h0djvne06jsaw2qgj782q83wpzh7sqmpyqg3qlxw