-
-
Notifications
You must be signed in to change notification settings - Fork 121
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port PADD to a new and more robust language. #201
Comments
Was recently recommended these Go libraries for console stuff by @goblinfactory
May be of use here |
Thanks, I was going through a few tutorials with https://github.com/spf13/cobra |
Go is a great language if you've come from C# ; you'll enjoy the simplicity and it will make you a better C# programmer. Adam mentioned me by name, and this is the first time I've seen the code, so not familiar with the project history, just reading from the top, and then a quick peek at the project, (appears to be a single bash file for self evident simplicity and reviewability and trusty-ness) ,that makes perfect sense. I think the concern about transparency is valid. While go binaries can be distributed as Brew binaries; if you already have Go installed, you can install utilities from source with a single command, my 2 cents; Here are some go references that I think would be relevant here; Go standard library for parsing command line flags; start here The next level up from that accepting more complex command line options; as shown here Followed by more higher level abstractions like Cobra etc. Though the Go community frown upon you starting with a complex library until you've exhausted all simpler options first. I will take a look at the projects, I have a good friend who keeps telling me to setup a pihole for my home network. This is a good nudge to go do that; maybe I can help out somehow. cheers, |
Great! Thanks a ton for the helpful information. I've used the stdlib
And thank you for the idiomatic Go advice on additional libraries! |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Is your feature request related to a problem? Please describe.
bash
is great but it's close to hitting it's limits as far as extensibility and maintenance. I'm considering porting this to a new language and I'm looking for thoughts and ideas. My first thought is to usegolang
but that is a compiled language and would remove some of the transparency of the code. All the code would still be open source and available here with instructions to compile yourself if you felt that was more comfortable.I may turn this in to a discussion topic if there are people interested in this or have other ideas and concerns.
The text was updated successfully, but these errors were encountered: