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
-
$Target = getWorkAddress(@rephiscorth);
Missile launching in 3..2..1
=> Launch Missile.ISIS(Location($Target));
I thought we were friends π
β’β£ R.I.P. ππ― -
lotd79227yPhp in itself isn't that bad.
Just some silly design decisions,
Way too permissive standards,
And what scrubs make of it.. And sell. -
balte23207ymaking fun of PHP and using it everywhere is my kind of humour.
except I do all of it in JavaScript, and hardly ever make fun of php. but if I DID use it. that'd be my thing.
ps: fuckit.js is lord and saviour. -
Froot75547yI'd love to work at a company like that. Here we still have guys who swear by PHP and regularly use their seniority to force a decision. Kind of what you expect from guys who have written PHP for the last 10 years in the same company and team.
-
Froot75547y@JoshBent I mainly use JavaScript but I'm open to learning anything that has some sort of a benefit to it
-
@Froot well javascript is atleast as challenged as php in many things imho and I personally feel more safe running php 24/7 than node, since php kind of babysits itself with most of the things, when node rather fatal crashes, if you don't actually catch all errors, though there is managers that restart the app automatically, whats your opinion on this and is it just because you learned js before php?
-
@balte I personally indeed use socket.io and the like in the background if I need actual live connections, but I saw people using I think its called ratchet? also the way devrant and other non node mixed apps do it, is by just simply pinging in intervals to the server, which allows you to for example be hosted behind cloudflare, which then also provides you anti ddos and other goodies. (which I prefer over having socket.io due to mentioned reasons)
-
Froot75547y@JoshBent I don't think node error fatality is a problem. You'd be running them in containers anyway and even if one drops you can just spin up a new one.
Also, you should cover your code with flowtypes and tests anyway, makes these fatal errors much less likely to happen.
As for why js and not PHP. I did learn js first but I also tried to learn PHP a couple of times. Thing is, I usually learn languages via a project and I just could not come up with a project that would need PHP. I still can't, everything PHP does and more can be done by node. -
@Froot I guess we both just had different environments growing in and into, since I could say exactly the same about php vs node often π , but why would you need to create a new container if the old node instance can just be restarted? (does it take more time?) never used docker or anything too much myself yet though, besides doing the basics.
-
Froot75547y@JoshBent it's easier to manage starting new containers with kubernetes or the such. It had tools for that built in. You could of course just restart the node process with something like "forever" but I think the docker way would be better
-
Froot75547y@JoshBent As for growing up part. Yea, for me it was quite different.
With PHP all tutorials told me to get Apache server and run my PHP through that. Also most of them had PHP inlined inside html which just seemed wrong.
Meanwhile, node was simple, a single executable. Write JavaScript, run it with the executable and you're done. No web servers or VMs or whatnot.
Also, my learning project was an online multiplayer football game that ran in the browser. This needed sockets to work and that made the scale tip to node.js favour even more -
For the ones asking, my company is in fact hiring. Seems like we're looking mainly for Ruby and JS dev.
-
You can work remotely, we work mainly with Bay Area customers in California, so you'll have competent teammates.
Drop me a DM on my twitter, it's in my Bio.
Also, I'm not a recruiter, I actually suck at it; but I like this community so I wanna share the love I have for my job.
In my new job, we all make fun of PHP. Love this place.
joke/meme
dreamjob