4 ms·
> fundamental features of the language The thing is you’re right, Go compiling to a self-contained binary is different from a folder of .py scripts. But both
by DougBTX 7y ago
> fundamental features of the language
The thing is you’re right, Go compiling to a self-contained binary is different from a folder of .py scripts.
But both can be deployed into production.
The deployment steps are different but the outcome is the same, so they can be used interchangeably.
- malvosenior 7y agoIf you use third party Python libraries, the end user is going to have to install them too. Python really isn't a great language to be building consumer distributed command line apps in. I think a lot of this discussion is focused around custom software or backend software, but for a publicly distributed binary, Go or any other compiled language is much better than Ruby or Python (and especially Javascript).
- DougBTX 7y agoThat isn't quite true re Python, eg https://stackoverflow.com/questions/2933/how-can-i-create-a-directly-executable-cross-platform-gui-app-using-python https://stackoverflow.com/questions/2933/how-can-i-create-a-... Go might be a special case actually, as it was designed to be a "boring" language to reduce the cost of technology choice. But it is completely interchangeable with similar programming languages (like Python) so evaluating the cost of it vs something else is still a very reasonable thing to do.