Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>I used Google's new Go language for two days.

I don't mean to be rude but, please don't write about about things you've only used for two days. This is a massive problem for all new things. Initial impressions mean a lot, and you honestly can't grok a new language in 2 days to effectively blog about it. If everyone here tried to go out and criticize Haskell after two days of usage, I don't even think they'd understand enough to criticize it beyond "it's too complex".

Lots of the decisions made for the Go language aren't for the hobbyist. It's targeting building large, powerful, heavily code-reviewed systems because C++ with an enforced style guide is a nuisance. Let's look at an example decision: the "use requirement" is actually godsend for removing unused dependencies. Go compiles as fast as it does partially because of its powerful dependency resolution. Rob Pike has a story about an engineer accidentally compiling a library 80,000 times in the same C++ build without knowing for years. The author of this blog got mad because it was inconvenient to debug with print. Now if only he hadn't been using the language for two days, he'd know that the Go compilers don't have to, but implement a builtin called print and println specifically for debugging. You don't need to import fmt to debug with print/println.



Bear in mind what he actually did was write notes after 2 days, hold them unpublished for over a year, and then post them with updates and commentary.

Besides, it's ridiculous fish, his notes on two days of Haskell would probably be well worth reading too.


Your point is dealt with, very clearly, in the sentence following! - "This qualifies me to bloviate on it, so here goes."




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

Search: