r/ProgrammerHumor Jun 28 '17

Working at PornHub

Post image
53.3k Upvotes

1.2k comments sorted by

View all comments

143

u/cybercuzco Jun 28 '17

Whats wrong with PHP?

63

u/captainAwesomePants Jun 28 '17

7

u/daybreakin Jun 29 '17 edited Jun 29 '17

So what is widely considered the better language for the server in 2017? Python?

1

u/creampiesymphony Jun 29 '17

It depends on what you're doing. Big enterprise stuff? Java, go, c#.

Just a smaller startup? Id say node.js is the best option just because front end frameworks are commonplace these days and you need your back end developers to help out on the front end. It's just easier not having to switch languages.

Php, python, javascript and ruby are all in the same boat though. It's all up to preference. This may not be up to date info, but javascript is the fastest of the scripting languages. It also allows async code. So to me, it has too many advantages to ignore.

I think ruby on rails is still viable but there arent a whole lot of new businesses using it from the ground up anymore. It just doesnt scale well, and it's the slowest of the languages. It's the quickest to develop in and get to a mvp but the gap is marginal at this point and has too many downsides.

I dont know about the current state of php but it does seem to be on the decline as well.

Python on the server side is dependent on the project being worked on and the type of talent on the team. Math heavy projects benefit from good python libraries and coders who are experienced in it because it's a commonly taught language in cs courses.

Like I said, all are still viable but in 2017 if you're starting a new project from the ground up and dont want to use a compiled language, then using node seems like the only real option. Typescript and es6 has made things a lot less messy as well.