10個理由為什么PHP是比Python更好

jopen 11年前發布 | 22K 次閱讀 Python

10個理由為什么PHP是比Python更好

  1. Python的主機,很難找到和昂貴,而便宜的PHP主機是無處不在。.
  2. Python不能與HTML混合(需要一個模板庫),而PHP可以.
  3. Python has no proper encapsulation (private keyword), while PHP has.
  4. Python is hardly used in the real world, while something as big as 非死book is built on PHP.
  5. Python has a great community, but it is not comparable to PHP’s.
  6. Python has some books and tutorials, but PHP has way more of them.
  7. Python沒有像PHP那么多的在線著名參考手冊。
  8. Python雖然沒有一個陡峭的學習曲線,但PHP仍是更容易學習。
  9. Python的縮進代碼塊是容易出錯,而PHP使用大括號。
  10. Python lexical scoping is a mess (‘global’ and ‘nonlocal’ keywords fix this), while PHP behaves as expected.
  11. </ol>


    來自:http://www.leaseweblabs.com/2014/12/10-reasons-php-is-better-than-python/

     本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
     轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
     本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!