TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Should I be learning PHP in 2020?

16 点作者 philonoist超过 4 年前

8 条评论

t312227超过 4 年前
imho ... why not!?<p>it&#x27;s just &quot;yet another c-style&#x2F;curly brackets scripting language&quot;, which isn&#x27;t hard to learn and especially easy to use and which was and still is heavily used in context of web-development.<p>why? its very efficient&#x2F;productive ... which is of special interest for example for smaller fixed-rate projects, mvps and similar use-cases.<p>even if php has many flaws, it got a few things right and is for example available on nearly every webhoster out there ...<p>but: don&#x27;t stop learning programming-languages with php. add for example javascript, but also python, some functional language - no, not haskel, i prefer ocaml - and other languages to your &quot;selection of tools&quot; ... :)<p>btw. another example ... &quot;everybodys darling&quot; javascript:<p>compared to javascript php is a <i>pretty decent</i> language ... just search the net on critiques on javascript, and despite that: everybody uses it.<p>why? because its <i>in every browser</i> &#x2F; on every system &#x2F; every mobile-platform etc.<p>availability&#x2F;accessibility&#x2F;... counts more than some academically influenced aesthetic discussions from some &quot;theoretical computer-science point of view&quot; ;))
评论 #24958661 未加载
评论 #24958588 未加载
wprapido超过 4 年前
PHP is not going away anytime soon. The only downside, it has no use beyond web. If you&#x27;re new to programming, no. Better focus on Python, Node, Go, Java, or even JavaScript. There&#x27;s still a strong and in certain niches growing demand for PHP, but definitely not suitable for a beginner, as lots of that work involves maintaining and &#x2F; or upgrading legacy code.
评论 #24962689 未加载
评论 #24958959 未加载
评论 #24960475 未加载
saluki超过 4 年前
If you&#x27;re learning PHP check out the Laravel Framework.<p>laravel.com<p>laracasts.com<p>forge.larvel.com<p>laravel-livewire.com<p>Great framework, great community and great suite of tools to make developing fun.
mkl95超过 4 年前
Only if your preferred language is doing so badly in your area that you have no other choice.<p>For instance, I have been using Python all my career, but to this day it is a niche language in my country. I also know PHP, Java, and C++ from school and personal projects (guess which I used for school and which for personal projects), and I have considered job offers in the past when Python was extremely unmarketable. One of those times I had to move to another city for nearly a year to avoid switching to another language.
cblconfederate超过 4 年前
It will take you less time to learn it than to read this thread
zapperdapper超过 4 年前
Depends.<p>What are your objectives? Why are you learning it? Is PHP your first language? Are you trying to get a job, get general stuff done, or have a specific project in mind? Are you primarily looking at web, text processing, database?<p>My own thoughts on PHP today is it is a very capable language, and probably as worthy of learning as Python, Ruby, or any of the other mainstream scripting languages - again depends what your objectives are.<p>In other words - how long is a piece of string? ;)
speedgoose超过 4 年前
No unless the only job offers around you are for PHP and you are not willing to move.
trengorilla超过 4 年前
In my opinion PHP &amp; Laravel is a great thing to learn right now. Such a productive dev experience.