您的位置 首页 php

为啥从事PHP程序开发,容易被鄙视?

php vs java

我也是php忠实用户,使用php也有多年,但时不时碰到有人总是喷php低级?为什么呢,我个人认为有一下几种可能

1.php是弱类型语言,大部分程序员对数据类型很模糊,这个模糊主要指对数据存储的方式,占用字节等很模糊。你比如还有一些概念,如指针、堆,栈等很模糊,而这些内容往往在程序高级功能和内存优化时候就用的着,如果你不会,就意味着,你很低级,写的程序很垃圾~

2.常规php编程都是进程执行,在多进程或 多线程 方面支持很弱,或不支持,所以很容易出现io阻塞的问题,比如,你读取数据库,如果需要5s,那程序只能等待,却不能执行其他内容。

3.php在常规websocket和tcp编程方面比较弱。

4.因为php是解释性语言,不需要编译,动态执行。正是这点,会导致执行效率差,而且稍微不注意,则容易出现安全问题。

但你不得不承认,php确实给很多创业公司争得了时间,提高了效率。为广大技术提供了工作岗位。作为phper,我们始终要保持学习的态度,才能更好的将技术发挥到极致。

1.首先我们要搞清楚php的执行原理。特别是弄清楚 nginx +php 和 apache +php的区别。

2.学习swoole,从此进入多进程编程及协程编程,告别~(你懂的),从下节开始,我将分享我学习swoole的一些知识,感兴趣的可以关注我。

文章来源:智云一二三科技

文章标题:为啥从事PHP程序开发,容易被鄙视?

文章地址:https://www.zhihuclub.com/153413.shtml

关于作者: 智云科技

热门文章

评论已关闭

7条评论

  1. The performance of the FST to predict the primary outcome was robust and consistent in both cohorts, with a range in ROC AUC of 0

  2. 35 2012 Gonadotropins 2431 women, 18 ovarian cancer cases, 30 years of follow- up SIR 1 Bisphosphonate zoledronic acid is known to inhibit bone resorption 37

  3. In the opinion of the old minister, His Majesty can use this miracle to express what is a good blood pressure medicine his reliance on the church and make more offerings

  4. P values correspond with ANOVA for continuous variables that are normally distributed, Wilcoxon rank sum 2 groups or Kruskal Wallis 2 groups for continuous variables that are skewed, and the Pearson П‡ 2 or Fisher exact test for binary and categorical variables

  5. 6 10 Recent in vivo laboratory studies demonstrate that overexpression of HER 2, a transmembrane tyrosine kinase amplified in about 10 of ER positive breast cancers, results in loss of tamoxifen s estrogen antagonist activity and the acquisition of tamoxifen stimulated growth The most common disorder which was surgically treated was elongated soft palate in 242 97

  6. Other models of spontaneous ER PR positive mammary tumor development that progress through DCIS include chemical carcinogen induced tumors in rodents and transgenic mice

网站地图