What is Nostr?
danwwilson :rstats: :voteyes: /
npub1ndn…kqly
2024-10-17 00:04:32

danwwilson :rstats: :voteyes: on Nostr: I am currently reviewing some code, and am curious how people balance everything ...

I am currently reviewing some code, and am curious how people balance everything becomes a function vs just write code and let it run. I am familiar with the rule of ‘do it 3 times make a function’ but I have also heard the idea of wrap it in a function and give that a meaningful name. I have seen this latter approach taken to extremes on a recent code base which made it harder to navigate. What’s your approach? #RStats
Author Public Key
npub1ndnqrfxuwjs27ryzmugqm3cgszmez6et9vvd8q5wkaktw337cr0qv2kqly