Size: a a a

2021 April 12

S

Sergey in Modern::Perl
Late to the party, not a core dev, and probably shouldn't wade into the lion's den, but I'd like to offer my (obviously biased) thoughts.


I have read and written on the subject of emigration for many years and I having been thinking that those issues are relevant to Perl. Why do people leave a country? There are push factors (war, famine, lack of jobs, discrimination, etc.) and pull factors (climate, jobs, culture, etc.). When push factors are the primary motivation (think "Somalia"), refugees will flee to just about any place that will take them. When pull factors are the primary motivation, people want to go there. The US and France, for example, both have plenty of (very different) pull factors and lots of people want to move to those countries.


It's even stronger for programming languages because there's not mcuh barrier to entry to other languages.


Perl has a lot of push factors (fewer jobs, old-fashioned language, frequently cryptic syntax), but what are the pull factors? I don't mean the pull factors for us. We're not the target audience here. I mean "pull factors for new developers." It's not the CPAN. It's not unicode support. PCRE is nice by most regexes I encounter in the wild aren't much more complicated than /ab(c*)de/. It's a nice glue language, but DevOps chose Ruby instead (why? push factors).


I can name push factors for Perl all day long, but pull factors? And pull factors that overcome the push factors? And make Perl more enticing than alternative languages? I could start listing push/pull factors for Python, but I don't want to start the day silently weeping into my coffee.


So, some points that I think are important:


If we break back-compat silently, people won't blame the sysadmin who upgraded without checking. They'll blame Perl. That's a new push factor.

I don't hear other devs saying I won't use Perl because of <insert unpopular feature here>. They say "I won't use Perl because it's Perl." We could use this bullet point to list many, many push factors.

Perl will die unless we give people a reason to try it again (and I agree that new OOP isn't the solution, but I contend that it's part of it). We need lots of pull factors.


Saying we should just keep Perl as "Perl", maybe remove some cruft is ignoring pull factors. It's saying "I want to go gentle into that good night." Perl will continue it's long slide into irrelevancy and people who enjoy Perl will have to find other ways of paying the bills. Make developers sit up and say "I want that!" When I give intro Raku talks, developers sit up and say "I want that.!" They say that about numerous features. They don't say that about Perl. (That's not saying anything about whether or not Raku will be successful)


So, given the assumption that Perl's push/pull ratio is poor, I contend that only a wholesale, radical upgrade of the language is the only way to save it.


Best,

Ovid
источник

K

Kolunchik in Modern::Perl
фигово
источник

SL

Sergiy Leschenko in Modern::Perl
На примере Raku видно что слишком много "pull factor" тоже не панацея.

А кто дожал, и не совсем понятна причина спора - отсутствие желания выкидывать старое?
источник

R

Roman in Modern::Perl
Я думаю, они все далеки от истины. Если бы Перл имел хорошую математическую библиотеку и его преподавали в ВУЗах, вопрос "что  с нами не так" задавало бы питон-сообщество. А кто выбирает Руби? Нет, не слышал.
источник

VO

Vyacheslav Olkhovche... in Modern::Perl
это да, девопсы и руби? хуня какая-то. там ансибля, а это пиздон
источник

SL

Sergiy Leschenko in Modern::Perl
Там были chef и puppet на ruby,  но похоже что ansible победил
источник

VO

Vyacheslav Olkhovche... in Modern::Perl
они сдохли когда девопс еще не был трендом
источник

AP

Anton Petrusevich in Modern::Perl
у меня есть эн пунктов к перлу, что можно улучшить. я, однако, ни в один не верю.
источник

AP

Anton Petrusevich in Modern::Perl
Evidently, my statement was so
offensive to some that they were compelled to push me into a corner
until I finally deactivated my social media account.

да, соцсети могуть быть оружием
источник

VV

Vladimir Varlamov in Modern::Perl
🐫 так сильно увяз в песке обратной совместимости, что чтобы сдвинуть разработку на пусть постоянной трансформации (эксперементы, добавление актуальных парадигм, и самое важное, отсечение устаревшего) нужны колоссальные усилия (или сильный лидер в духе старого времени, типа Линуса с хлыстом). И если даже core команда не может договориться, то дело дрянь.
источник

W

Warstone in Modern::Perl
Так поправьте. Или опять "мама, слепи мне снежку"?
источник

VV

Vladimir Varlamov in Modern::Perl
Проблема в том, что решает сообщество, которое определило для перла статус кво на версии 5.8 навсегда.
источник

AB

Alex Bush in Modern::Perl
Как что-то плохое
источник

R

Roman in Modern::Perl
У этого сообщества уже есть 5.8, ему 5.34 не нужен, как и более ранние версии, они привязали себя к репозиторию какого-нибудь RedHat. Забудьте про них, им оставшихся версий хватит до пенсии. На них равняться не стоит.
Те, кому нужно развитие, могут сами создать свое сообщество, если приложат хоть какие-то усилия, и договориться о плане развития.
источник

VV

Vladimir Varlamov in Modern::Perl
Я вижу несколько путей, как можно было бы добиться perl7 без преждевременного отсечения. Жалко, что если Sawyer X сейчас уйдет, то это уже маловероятно кто-то сделает в ближайшие 3-5 лет точно. Как минимум нужно было выработать политику deprecated /obsoleted на длительный период, с шагом в 5 лет.
источник

VV

Vladimir Varlamov in Modern::Perl
Зомби 5.8 это не сообщество
источник

IB

Ivan Bessarabov in Modern::Perl
не
источник

IB

Ivan Bessarabov in Modern::Perl
говорят что v7 — уже точно будет
источник

IB

Ivan Bessarabov in Modern::Perl
вне зависимости от того уходит он или нет (хотя мне сложно представить что он теперь останется)
источник

R

Roman in Modern::Perl
т.е. из v5 уходит, в v7 приходит?
источник