What is Nostr?
Sonny Bonds /
npub1q7v…epwa
2024-12-25 10:36:58

Sonny Bonds on Nostr: I may have asked this before, but people who write a lot of code in a more functional ...

I may have asked this before, but people who write a lot of code in a more functional or otherwise non-OO way in e.g. C or C++, how do you typically deal with discoverability of operations?

As an example, let's consider like concat(a, b) as opposed to a.concat(b). The former style has a bunch of upsides I like, but an upside of the latter is that IDEs/LSPs can help discover what operations are possible on "a" when typing "a.".

Are there some smart patterns to help with it?

#cpp
Author Public Key
npub1q7vwxduhllralqq5emqv4ud0qxjryf5fnzrz857uy67hvf27n37qazepwa