Magento Expert Forum - Improve your Magento experience

Results 1 to 5 of 5

Php vs Python

  1. #1
    Junior Member petershene's Avatar
    Join Date
    Aug 2017
    Location
    South Africa
    Posts
    51
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default Php vs Python

    Ive come here to learn about magneto and eCommerce in general but this thread caught my eye so im going to post here first.

    Ive worked somewhat with php , and i know many if not mos web developer jobs and websites ( dynamic ) are currently running on php as their main markup language .

    However i have read alot about ruby on rails and python and the "Languages that will end php". Now im not for or against any of these languages , i guess my question is , is it possible , should we be learning the newer languages in addition to improving our older ones? I mean i cant magine lets say wordpress switching over to python hahaha.

    But what i do see is a greater amount of jobs every month in the web developer industry with regards to python especially .

    View more threads in the same category:


  2. #2
    Junior Member
    Join Date
    Feb 2018
    Posts
    36
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    As for PHP vs Python, I don't think there's a better/worse comparison, as there's a give and take.

    PHP has an amazing community and online documentation. You will find answers to most questions you have VERY quickly. However, it's popularity and ease of use/implementation has brought with it a lot of sub-standard code and packages. Even within the language there are many quarks and inconsistencies.
    If you go PHP - ALWAYS USE A GOOD FRAMEWORK!!!! Laravel would be my recommendation

    Python has a reputation for being a high-level language. It's focus is on the ease of use. It takes a while to get used to the syntax coming from Java, but you get the hang of it. Once you do, you will see that the code is much more readable than other languages.


    Job Consultancy in JanakPuri | Placement Consultants in JanakPuri

  3. #3
    Junior Member
    Join Date
    Sep 2018
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Arguably, Python is not just more readable than PHP, but is more readable than most other programming languages. 5. Python has a simpler syntax – This may be because the syntax is simpler and the code easier to understand and write in Python. ... That is generally not the case with something that you write in PHP

  4. #4
    Junior Member petershene's Avatar
    Join Date
    Aug 2017
    Location
    South Africa
    Posts
    51
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default

    My views have change a bit since i posted that firs post. Ive scratched around on python after navigating php and java pything is a breeze i wouldnt call it a "high level llanguage" while php certianly is not high level, what you learn from its crazy syntax is very good debugging ( sometimes not even logical ).

    Php's ease of use as a entry level makes it the go to for most starting back end guys. Many of those people are not serious about what they do, hobbyists if anything, and thats resulting in alot of bad code and packages , giving php a bad name.

    I understand now after working a bit in python that yes python is powerful most definitely in what it does, but php is just so ( for its functionality on the web ) , bu too many variables. Programmers being the main one can make a language look like rubbish or absolute gold.

  5. #5
    Junior Member
    Join Date
    Sep 2018
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I always love to know about new things, thank your views on it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •