Live data from Hacker News

PHP is worth learning and using

bulletproofphp.dev

211–220 of 468 posts

Re: PHP is worth learning and using

#211
I like PHP, it pays the bills.

I also like other languages, some because they are a pleasure to use, or give me an opportunity to learn something new... but mostly because they pay the bills.

I don't think there is anything wrong with that, these are just the tools of the software engineer, nothing more. We use the tools that are appropriate for the job, no reason to make it into something deeper than that.

Re: PHP is worth learning and using

#212
post #194

Earlier quoted context omitted.

If people call something "cool" - that's actually a red flag for me.

How's that policy working out for you? If I did that I'd have missed a hell of a lot of cool stuff in life haha

good, I'd say. I'm not waiting half an hour in a queue in front of a hipster ice cream parlor. when I go into nature I have a good chance of actually finding some peace b/c I do not go where Instagrammers take their selfies. I'm not torturing my soul on TikTok. I use choose technologies conservatively instead of by hype cycle. List goes on.

Re: PHP is worth learning and using

#213

Earlier quoted context omitted.

I also live in the EU, and 4,5k is not a massively good salary for a programmer in my country (Denmark). This is usually what a junior is paid.

Absolutely agree, 4.5K USD (3,970€) is certainly not a "massively good salary for Europe" although that heavily depends on the country. Here in Germany its about entry level for a CS major

Yeah, Europe has significant variance in a) reporting of salaries (some report pre-tax, others post-tax) and median income levels. Generally though, programmers are paid pretty well by the standard of the country they live in.

Re: PHP is worth learning and using

#214

Earlier quoted context omitted.

All languages can be used by everyone.

That is probably false for all practical values of "used".

Elaborate? Every language can be used, I stand by that statement. Sure they have very differing levels of easiness to start with but all are usable regardless.

Re: PHP is worth learning and using

#215
post #84

Earlier quoted context omitted.

Ya, but PHP is actually still being used in a lot of agencies and in certain types of work. Far more than elixer and rust, probably just below ruby. Also I wasn't pointing out what you say, you're reading into it a bit. I haven't used PHP in a long ass time. But it seems like not a bad choice for certain markets, at least as much as Python and Ruby imo

PHP is used far more than Ruby. Wordpress alone dwarfes any Ruby usage.

I guess it depends how you quantify it, but I was thinking Shopify's use of Rails would have started competing for %

Re: PHP is worth learning and using

#216
post #209

Earlier quoted context omitted.

Here's a choose your own adventure for people new to the field. Pick something you want to build, then see which languages are the best suited. If you want to build several things, see which languages are the most recurring and versatile: - Web frontend: Javascript/TypeScript - Web backend: Javascript/TypeScript, Python - Performant backend (where you manage threads and queues): Go, Java, Rust - Machine learning: Pyt…

Rust is great, but if one is looking for a job in systems programming, C and C++ is what gets one hired, regardless of their flaws. Recent example, while Android has adopted Rust for replacing their bluetooth stack, the newly introduced Android Games Development SDK focus on C and C++. Or Microsoft, despite all their security speech, Azure Sphere OS and RTOS only support C on the official SDK, and the new WinUI compo…

And even moreso for the embedded space

Re: PHP is worth learning and using

#217

Earlier quoted context omitted.

I haven't worked in PHP for years but 2000request/second doesn't sound unreasonable for PHP either? And that with a language that everyone can use.

2k requests might range from nothing to to hard, depending on what the page does. A simple PHP page 10 years ago on a low-end server using mod_php could do 100k+ rps. Add more logic to it and performance will decrease.

I feel you could be exaggerating just a little. :D

Re: PHP is worth learning and using

#218

Earlier quoted context omitted.

for me the biggest advantage is the size of the market. I know Python and PHP quite decent but I've never found any quick job (or long time job) for my Python skills. For PHP I have to convey some of jobs to others, I am getting so much of them (I even run some job advertisement site only for the purpose to redirect people pinging me with offers, really). But maybe this is just me.

Good jobs though? Lots of PHP jobs in Canada, but the salary is nearly universally always laughably low.

PHP salaries in the UK are decent. Perhaps a little lower on average than other ecosystems (the high-end has a tendency to use other languages), but I've definitely seen some well paid jobs. As a junior it may well make sense to start with PHP as there are just lots of jobs available, then you can move onto something else. There are other good options too of course.

Re: PHP is worth learning and using

#219
post #209

Earlier quoted context omitted.

Here's a choose your own adventure for people new to the field. Pick something you want to build, then see which languages are the best suited. If you want to build several things, see which languages are the most recurring and versatile: - Web frontend: Javascript/TypeScript - Web backend: Javascript/TypeScript, Python - Performant backend (where you manage threads and queues): Go, Java, Rust - Machine learning: Pyt…

Rust is great, but if one is looking for a job in systems programming, C and C++ is what gets one hired, regardless of their flaws. Recent example, while Android has adopted Rust for replacing their bluetooth stack, the newly introduced Android Games Development SDK focus on C and C++. Or Microsoft, despite all their security speech, Azure Sphere OS and RTOS only support C on the official SDK, and the new WinUI compo…

> Rust is great, but if one is looking for a job in systems programming, C and C++ is what gets one hired, regardless of their flaws.

That's true, but as a beginner I feel like starting with Rust is a lot more accessible, and could help someone switch into C++ later.

Re: PHP is worth learning and using

#220

Earlier quoted context omitted.

The best part of PHP is the development model. You copy some files to a server, and load the page. That's it. It is really hard to beat how easy it is to iterate, even if the language is truly terrible.

I have seen people deploy php this way but I'm not aware of anyone who'd do it today. Locally however it is save, alt-tab, ctrl-r and immediately you see the result. Absolutely no waiting. These days I rather use Quarkus for this but until Quarkus arrived this was a huge advantage that PHP had over every other language and framework I was aware of. Also the documentation was fantastic compared to most of the stuff I…

I deploy with a git pull

Which I suppose is just a fancy way of a copying files to the server.

Post reply on HN