Hacker News new | ask | show | jobs
by saltcookie 4272 days ago
its just javascript, its so error prone, it can take hella long to write simple algorithms, because of some undefined error.

compare that to golang, even though u make errors, the compiler is so awesome at pointing those out. And u can get so much done

2 comments

I get that you like Go, but you can't run Go in a web browser. Ultimately, whatever you write will have to be evaluated in a web browser, which means it will be JavaScript at some point. Just like you've observed with CoffeeScript, writing in a different language is just a layer of abstraction on top of JavaScript.

Web apps have a back-end and a front-end. You can definitely write the back-end without touching JavaScript. You can even write it in Go. Square did a nice writeup comparing several:

http://corner.squareup.com/2014/05/evaluating-go-frameworks....

When it comes to browser side, you're stuck with JavaScript though. Trying to avoid it will only bring more pain and frustration than attacking the problem head-on.

I would point out that programming languages don't make errors, programmers do. I'm no fan of JavaScript. I too avoid it when I can. It's absolutely necessary if you want to write web apps though. As you become more familiar with JavaScript, your error rate will go down.

If JavaScript really puts you off, maybe consider going another direction, like mobile app development. Both iOS and Android applications are developed using compiled languages. You may find them more suitable to your programming style.

It is a poor workman who blames his tools.
works both ways : a good workman choose good tools.