← Back to context

Comment by pif

1 day ago

It doesn't need to be good because it is not meant for good developers.

And it's perfect for most business software, because most businesses are not focused on building good software.

Go has a good-enough standard library, and Go can support a "pile-of-if-statements" architecture. This is all you need.

Most enterprise environments are not handled with enough care to move beyond "pile-of-if-statements". Sure, maybe when the code was new it had a decent architecture, but soon the original developers left and then the next wave came in and they had different ideas and dreamed of a "rewrite", which they sneakily started but never finished, then they left, and the 3rd wave of developers came in and by that point the code was a mess and so now they just throw if-statements onto the pile until the Jira tickets are closed, and the company chugs along with its shitty software, and if the company ever leaks the personal data of 100 million people, they aren't financially liable.

  • Go has extremely robust linters just for the corporate use-case. And gofmt.

    Every piece of code looks the same and can be automatically, neutrally, analysed for issues.