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

Not OP, but I personally could not use JS, and would outright refuse to use, in production. It's fraught with headaches that seem trivial but drastically change control flow, == and === being my favourite example. Linters help, but it feels like a band-aid solution.

I've had good fun with JS in my own time (where else can you get a GLES window up in 3 lines of code?), and I've written my fair share of helper application that notify me of certain album releases. But I would never ship something using it (and in fact I generally switch to Dart if I get serious enough about a web project, another band-aid solution). It could be preference, or it could be the years of embedded programming expecting timely results with minimum overhead (make no mistake, a modern web browser is a hell of an overhead).



>where else can you get a GLES window up in 3 lines of code?

Everywhere somebody built an abstraction to do it.

#include <SDL.h>

...........

SDL_Init(SDL_INIT_VIDEO);

SDL_Window *window = SDL_CreateWindow("MyApp", 0, 0, 1920, 1080, 0);




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

Search: