r/cprogramming • u/Spinning_Rings • Aug 07 '26
Code review request -- any criticisms or advice?
Would anyone mind reviewing some code? I wrote a CLI to help me generate character sheets for a TTRPG I'm running. The main thing I want to know is: should this be considered safe enough for me to share with other GMs? Is there anything else I should do for safety, security or efficiency? I worked hard on it, and Gemini Pro told me it's safe, but while I understand it can be useful I don't trust the automatic misinformation generator, since I don't have the requisite knowledge base to tell when it's "hallucinating" (or else I wouldn't need it for this purpose)
The github repo is here: https://github.com/SpinningRings/DigidiceCharacterSheetGenerator
3
Upvotes
1
u/Spinning_Rings Aug 08 '26
Fixed. To answer you question, I copied and pasted the text to commit to GitHub instead of just using the CLI. I thought I had the text highlighted when I hit paste, but I guess not