10個理由為什么PHP是比Python更好
10個理由為什么PHP是比Python更好
- Python的主機,很難找到和昂貴,而便宜的PHP主機是無處不在。.
- Python不能與HTML混合(需要一個模板庫),而PHP可以.
- Python has no proper encapsulation (private keyword), while PHP has.
- Python is hardly used in the real world, while something as big as 非死book is built on PHP.
- Python has a great community, but it is not comparable to PHP’s.
- Python has some books and tutorials, but PHP has way more of them.
- Python沒有像PHP那么多的在線著名參考手冊。
- Python雖然沒有一個陡峭的學習曲線,但PHP仍是更容易學習。
- Python的縮進代碼塊是容易出錯,而PHP使用大括號。
- Python lexical scoping is a mess (‘global’ and ‘nonlocal’ keywords fix this), while PHP behaves as expected. </ol>
來自:http://www.leaseweblabs.com/2014/12/10-reasons-php-is-better-than-python/
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!