Pull to refresh

Comments 7

/irony mode on/
Interesting artcile, I recently moved from PHP to Python. If I would see this article before, I would start learn python from it. Codecademy courses were very helpful. Also I wish to notice lambdas in Python, which strongly make code shorter.
/irony mode off/

You will need a PHP 5.3+ console
Article was old even back in 2015, then it was published in russian habr.com/en/company/wargaming/blog/221035. Even with updates it's expired and makes feel dejavu, not more. We believe habr have to do something with same articles in different languages.
Even with updates it's expired and makes feel dejavu, not more.

I was waiting for this comment. I cannot not agree because main principles of both languages have not been changed. But some of course can be updated.
Do you have example in what point my knowledge of PHP is outdated?
Do you have example in what point my knowledge of PHP is outdated?
Here is nothing personal, I am talking about article, not about your knowledge.
Basically I almost stop reading article after this gem
You will need a PHP 5.3+ console
Probably article fresh, but that I supposed to feel after such introduction? I can check few things about php if they outdated or not, but it makes me feel unsure if python related statement outdated or fresh and I can't judge about it.
As for php, in 7.x php classes and strong typing very improved, but article says that main difference it's dynamic typing in php and show php classes thing as very weak.

p.s.: dejavu notice is nothing to do with article. It's habr problem, there are should be some obvious reference that article have ancestor in different language, not just «translation» tag.
Here is nothing personal, I am talking about article, not about your knowledge.

Yes, I understand. I'm just interesting how wrong this now.

Basically I almost stop reading article after this gem
You will need a PHP 5.3+ console
Probably article fresh, but that I supposed to feel after such introduction?

It is just about minimum requirements. Even on screenshot it is 5.5. But I think you are right, it is better to update to PHP 7 and Python 3.

but it makes me feel unsure if python related statement outdated or fresh and I can't judge about it.

It is fresh because I update it every year.

As for php, in 7.x php classes and strong typing very improved

The same for Python. It is possible to use static typing but it is not common.

In any case. For me is not a problem to fix article. Just point your finger.
Мне интересно узнать — а какова причина перехода на Python? Насколько я понимаю оригинал написан в 2015 году, тогда интересно так же узнать — стали бы вы сейчас переходить на Python с учетом всех новых выстреливших фич пыха за эти годы?
Оригинал написан в 2015 году, но я статью поддерживаю. И русская и английская статья были вчера обновлены до актуального состояния. Для этого пришлось ознакомится с Changelog`ами обоих языков на предмет не пропустил ли я чего. И действительно, пару мест пришлось подправить. Но в целом общий посыл не поменялся ни на йоту.
Поэтому: да, стал бы, потому что:
* Коллеги-питонисты мне нравятся в среднем больше чем коллеги-пэхаписты, не потому что они более милые ребята, а как люди у которых можно научиться большему. Просто почему-то так получилось.
* PHP — только сайты, предел карьеры — работа в фейсбук. Питон — не только сайты, а также научные расчёты, статистика, машинное обучение, разработка алгоритмов, утилиты, встраиваемый язык. В связи с этим единого предела карьеры нет, но как минимум можно претендовать на работу в Яндекс, Гугл.
* Питон более компактен и лингвистически понятен. Он синтаксически очень хорошо продуман, это не только видно, но и чувствуется.

Да, PHP 7 — прорыв по перформансу, но когда мне нужен перформанс, то я скорее буду писать на Go, он лучше обоих для этого приспособлен.
А все остальные выстрелившие фичи PHP 7 — скорее попытка не отстать от отрасли. Почти всё в том или ином виде есть в других языках. Или может я что-то упустил?
Согласен, для просто веба подойдут оба языка. Но на СНГ рынке, PHP разработчиков гораздо больше и они дешевле нежели python/nodeJS.
Only those users with full accounts are able to leave comments. Log in, please.