4 ms·
As a longtime PHP developer, my opinion differs from yours regarding PHP vs. Python syntax. Python took some getting used to, but the more I used it the more s
by mzarate06 2y ago
As a longtime PHP developer, my opinion differs from yours regarding PHP vs. Python syntax.
Python took some getting used to, but the more I used it the more strongly I began preferring its lack of things like curly braces, semicolons, even parenthesis in some cases. Because of that, python feels more concise, human-readable, and more efficient to write, than PHP.
I like both languages, and still rely on PHP for a lot of web work, but for data science or ML I do end up enjoying my time with python.
- cess11 2y agoPHP syntax makes it relatively easy to do ad hoc code generation, for example. Right, Python has a purpose as a glue language.