3 ms·
Finally understanding the appeal of static typed languages after doing a project in Go using Goland. I always thought I loved the freedom of python and JavaScr
by dinkleberg 6y ago
Finally understanding the appeal of static typed languages after doing a project in Go using Goland.
I always thought I loved the freedom of python and JavaScript (and I still do to some extent, you’ll have to take Django from my cold dead hands). But the power of static type becomes super clear when you’re using a great IDE.
I can hit a hot key when hovering over any function and it’ll show me the docs and take me to the full page if I want. Hitting another hotkey it’ll auto fill parameter options. It’ll auto import the libraries I need. It’ll complain if I’m using the wrong type.
It gives me so much more confidence that the code I’m writing will actually work. It’s slightly more of a pain to write, no doubt about that, but the payoff is huge.
I was burnt by java in the past and can’t stand how every project seems to end up like this https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris.... But Go has shown it doesn’t have to be like that.
- JoeAltmaier 6y agoWhoa I was with you up to the last line. Static typed languages have been around for decades. Go is a very, very recent addition. It hasn't shown squat.
- dinkleberg 6y agoShould’ve said “it has shown me”. I know there are many great choices out there, it’s just the first one that has sunk in with me.
- JoeAltmaier 6y agoFair enough.