logoalt Hacker News

ckvibubueutoday at 8:33 AM1 replyview on HN

Go is an amazing AI language for this reason.

The tests that get created also tend to be higher quality than say the slop I see in python.

Though I do suspect my codebases are doing heavy lifting in terms of steering towards quality outcomes.


Replies

salmonellaeatertoday at 11:10 AM

I've found the opposite. Go doesn't even have sum types, so it's hard to use constructive data modeling techniques to model the domain. The only tool available for ensuring exhaustive handling of all cases is interfaces (Visitor pattern) which is verbose.