4 ms·
First of all php, go or Python are all valid choices. You can shoot in the foot with all of them. Personally I prefer Python, but worked a bit on go. I personal
by dragonsh 11y ago
First of all php, go or Python are all valid choices. You can shoot in the foot with all of them. Personally I prefer Python, but worked a bit on go. I personally will recommend Python given its rich library set helping you secure your api's end points. Doing same in go is pretty convoluted with more lines of code, although you get performance, but that's good for consumer facing part. For software like control panel Python is a very good choice.
In general Python is better where you need a decent 3rd party library support with concise, clean and readable code. Go is a good choice when you need performance and scale although Python can do it as shown by Instagram and Google itself but it requires clever programming and a lot of cruft.
For systems/containers they build there code in go but still needs to integrate with c code of kernel. So the code is complex and since your tool is focusing only on control panel part I feel Python is a way to go.
- zer00eyz 11y ago"Python given its rich library set helping you secure your api's end points. Doing same in go is pretty convoluted with more lines of code" Is there any way you can elaborate on your experience that brought you to this conclusion? I am rather curious, as Go has the same middleware concept that django has to add in security, session, and token information to an http call.
- dragonsh 11y agoTry building a production rest api using flask, with encryption, authentication and authorization backed in, taking care of internationalization and localization. See for yourself how many lines of code you will need and obviously see which one is more readable and cleaner. Do the same with go and you will know what I'm talking about. Go is good for its own use case for solving Google scale problems which requires additional efforts and time. Python is very approachable from the beginning. Moreover the wealth of documentation and help makes it so much easier when you hit a roadblock. You will need twice the amount of time to do the same in go.