看到基本上好多人都鄙視做PHP的,雖然不太懂為啥,不都是工具麼。。
畢業之後可能會去做PHP,感到有點迷茫,現在應該咋辦?
回複內容:
記住長者的教導: keep silence and make money賺自己的錢,讓別人去說吧鄙視鏈嗎。。。。很正常的。。。。。
PHP實在太好用。。。
不過語言學的多了就不在乎是不是PHP了。。。。
技術路線還是要看實際情況選擇。而不是這門語言/這個平台被鄙視的多少。因為別人的天生的(當然也可能是後期養成)的智商缺陷而讓自己苦惱從來不是一個正常人應該做的事情。所以,Keep calm and carry on.說php爛的人很多,但是沒人說鳥哥爛。說Java爛的人很多,但是沒人說R大爛。剛在 Hacker News 上看到了一個關於 PHP 比較 md5 值時的問題,裡面有個很有意思的 Comment:
You bought a new car. You took it out for a ride. a tree falls before you. You brake, but the car proceeded to hit the tree anyway.
You call the car company and talk to their engineers. One of them ask. 'Did this happen on a Friday evening, when it was raining?' You say 'Yes, how do you know?'
The engineer replies.
"Our brakes does not work on rainy Friday evenings. If you REALLY want to brake on a rainy Friday evening, you should also pull the lever under the dash board that is normally used to open the hood. It is very clearly printed on our manual. Didn't you read it? Our car is not the problem. You are the problem"
You were enlightened. You came back home. You never took the car out on rainy Friday evenings. When Somebody asks about the car, You said. "Yea, it is a great car. But you got to know how to use it".
You took great pride in knowing how to drive this car, which can easily kill someone who hasn't read the manual. When you hear that someone got killed while driving this car, you simply said. 'That car is Ok. but you should really know how to drive it, sadly this guy didn't. He was the problem, the car ain't...
https://news.ycombinator.com/item?id=9484757
作為非 PHP 程式員,對這種坑感到很大的恐懼以及對這門語言是否還有更多類似大坑的擔憂。
你覺得,大部分人厭惡街邊乞討的人是因為乞丐使用PHP嗎?少年,我看你骨骼驚奇,我這有本21天精通易語言,站在鄙視鏈頂端的任務就交給你了…PHP程式員可以像這家公司裡這樣的鄙視測試
PHP程式員都這個態度嗎? - 人際衝突推薦這篇文章 http://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
文章很長,寫於三年多前,或許可以部分回答你“不太懂為啥”這個疑問。
說“或許”是因為我本人沒有任何PHP經驗,當年通讀這篇文章的時候沒有驗證過這篇文章中提到的各種問題的準確性,也不知道這篇文章裡提到的PHP的問題這三年中改進了多少。