News for hackers. Stuff that matters.
Re:DigitalOcean’s quarterly report on developer trends in th... by mmilano on Monday July 09, 2018 @10:16AM (#17490309)
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.

Re:DigitalOcean’s quarterly report on developer trends in th... by mawburn on Monday July 09, 2018 @11:11AM (#17490778)
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.

Re:DigitalOcean’s quarterly report on developer trends in th... by java_script on Monday July 09, 2018 @12:11PM (#17491284)
> Do you think a lot of people are running JS in a container for frontend?

Hold my beer. --Frontend developers

Re:DigitalOcean’s quarterly report on developer trends in th... by albemuth on Monday July 09, 2018 @03:31PM (#17492788)
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?
Re:DigitalOcean’s quarterly report on developer trends in th... by steve_adams_86 on Monday July 09, 2018 @06:32PM (#17493937)
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.

Re:DigitalOcean’s quarterly report on developer trends in th... by felixmc on Monday July 09, 2018 @02:17PM (#17492229)
actually! at my old job there was a project where the frontend webpack build was running in a docker container..
Re:DigitalOcean’s quarterly report on developer trends in th... by mawburn on Monday July 09, 2018 @05:25PM (#17493549)
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.
Re:DigitalOcean’s quarterly report on developer trends in th... by whb07 on Monday July 09, 2018 @10:57AM (#17490623)
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”.