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

Like the Stack Overflow survey, this one does not distinguish server-side/client-side JavaScript, making it look far more popular than it actually is when considering the data in context of server-side technologies.

If 100% of the servers were running PHP, the results would likely be 50% PHP, 50% JavaScript.

These survey writers need to modify their question, or add another one specifically requesting server-side tech so JS can be accurately compared with server-side only languages.




Do you think a lot of people are running JS in a container for frontend? I wouldn't consider a webserver container a "JS container", even it were mostly serving a React/Vue/Angular app.

By the way it's worded, it sounds like the question is specifically talking about NodeJS.


> Do you think a lot of people are running JS in a container for frontend?

Hold my beer. --Frontend developers


If the rest of a web app is running on containers, what's the downside to having the test/build process for the frontend in a container as well?


I like using containers as a reliable build context. I think it makes tons of sense.

Once the container's done building, throw it out, take what it built, and serve it.

I'd personally do this separately from the rest of the web app if possible, though. I keep frontends in their own repository.


actually! at my old job there was a project where the frontend webpack build was running in a docker container..


Yeah, I guess when you think about it that way it makes sense. I think I might have assumed this was for production and not build environments.


You’re forgetting the C and C++ for the OS and other binaries. Throw in some python to bring this all together and some Go for a bit of spice.

I get your point, but they probably asked “what language do you develop with”.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: