Hacker News new | past | comments | ask | show | jobs | submit login

I have programmed in many languages. I'm kind of weird, I think, because I honestly think the bugs that people complain about in javascript count as features :):). Everybody hates double equals. I consider it a convenient shorthand :).

Go is a lot different. It's not fun to work with if you come from a dynamic language and need to get something done quick. It's annoying because you have to typecast from int to float and back. So frustrating.

But the place where go is amazing is memory management First - you have access to pointers. Secondly error handling is superior (few exceptions, pretty much everything just returns the error instead of crashing your program, which is much less difficult to reason about than try catch. It's also more succinct). Third - go allows you to mess with threads and passing data back and forth between them better than most languages. I CANNOT SPEAK TO RUST AS I DON'T KNOW IT. But it's way better than any of Java, python, c, c++, etc, because it's just made for this.

Hopefully this helps!




> Everybody hates double equals. I consider it a convenient shorthand :).

You mean this ”==”? Isn’t it the most fundamental thing in the majority of languages?


I think h_tbob means people hate '==' by opposition to '===', which is a stricter comparison.


Huh. I like Go but its error handling is the only area where I really do not like it at all.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: