Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Unfortunately some companies/devs make it seem it's the only backend language out there haha or some just can't be bothered to make the switch.
-
Probably cuz its the cheapest easiest solution.
Not hard to use, fast and with many modern features that you would expect on any modern language.
Also because most people can be properly trained with it fairly quick. -
TobiSGD2816ySame here. For a new project we plan I try to convince my boss to not use PHP for it, but a language that has proper concurrency and so on. Programming with PHP is somehow still like coding for s single-CPU single-Core machine. I seriously would like to use Go for that project, but the best I could get out of him is "maybe we should use Java, since it is still an industry standard".
-
@Root i am missing the "cheap and easy" solution for either or. I love em, don't get me wrong. But as far as cheap you are not going to beat php. Or easy for that matter.
There is practically no setup to be had on a bare php environment. -
Root825996y@AleCx04
Install rvm
`rvm install ruby-xxx`
`gem install bundler`
`bundle install`
Set up daemon
Done.
I actually think it's easier than setting up php?
It is definitely harder and more expensive to find ruby devs, though. -
devJs13326ythere is a dollar in php, bit feel free to tell him about string literals! maybe he change his mind! xD
-
@Root i am not new to Rails...i know how the setup works and I also know that 9 times out of 10 and depending on your environment there are lots of steps in between...just installing a version manager and getting it setup properly can take time.
I can be funny like that and just say
Install lamp
<?php echo "we are live"; ?>
And say done and say that shit is easier........ -
Root825996y@AleCx04 I am being serious, though. I have had far fewer issues setting up node and ruby than I ever did with php.
But mileage always varies -
@TobiSGD well, Java is still a decent choice regarding concurrency (though it can feel a bit awkward if you're used to async/await)
+ it has static typing, which automatically makes it better :P -
@TobiSGD Actually Java can handle concurrency really nicely if you know how to do it properly. (Just a Java dev here... do not mind me :D)
-
Root825996y@SauceBoss Haha
I definitely have a soft spot for Ruby. Not so much for Rails, though -- it's a bit too magical for me. -
TobiSGD2816y@bytecode Might be. I just don't like Java, it feels so clunky to me and I seriously can't stand all the BeanManagerFactoryManagerBeanFactories ;)
Seriously, threading in all these 'industry-standard' languages feels like someone thought about that after the fact, and I wouldn't even know how to start with concurrency and inter-routine communications, while goroutines and channels make it all so easy.
Why TF is my manager so f*king fixated on using PHP!
rant