Hacker Newsnew | past | comments | ask | show | jobs | submit | bitg's commentslogin

Yes you can do a global catch, but the error still happened, the functionality was faulty and you didn't handle it properly (you just showed the error, period).


Stops the entire process dying though, so you can keep on serving?


Can we install regular Ubuntu packages on this phone? If we can then I guess you could install terminator, gnome-terminal or something.


I saw a video in Spanish of Obijuan installing stuff with apt-get after some configuration, so you can install Ubuntu packages. He showed python.


The Force is strong in that one.


La Fuerza es fuerte en él.


The force is strong in this Juan.


I'm very very impressed by your code quality especially when this is just your first Go project. I'm an experienced Go developer btw. You're just so good.


The original output is very large but when gzipped it's surprisingly small. For example an app in my framework that gopherjs produces is like 1.2MB minified, but the gzipped one is just over 200kb, so no problem.


Download size isn't the only issue. Larger scripts are slower to parse and startup, slow down debugging tools, inhibit JS VM optimizations and use up more heap in general.

This may not matter on desktop intranets, but it will matter on the mobile web.


You could compare any language to machine language and you can say that language is less powerful. Go is not even close to the power of C and assembly. I'm not gonna even try to argue.


Your statement about Java or C# being "much nicer and faster" than Go is just plain wrong (Well if that's true then what's the reason to use Go?). In fact it falls in the same vein as Java or C# in performance, but it has the advantage of being native code. It isn't made to be a C contender. It's designed to be the simplest language to learn, the easiest to deploy, compile as fast as scripts, coding half as nice as Python and runs as fast as Java. Currently it excels at Cloud / server development.


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

Search: