Skip to content

Instantly share code, notes, and snippets.

@ytnobody
Created June 3, 2018 02:08
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ytnobody/78b8582eab14e33b86c766394ab3ccf9 to your computer and use it in GitHub Desktop.
Why people says "Perl is guilty" - mishima.pm #3

Why people says "Perl is guilty" ?

ytnobody


ytnobody

  • born: Hakodate
  • live: Ooi-machi
  • work: Roppongi
  • job: Tech specialist @ colon limited.

Perl


Developed by Larry Wall in 1987


Larry Wall


but ...


Today people says "Perl is guilty".


Oh Larry...


Why?


People says...

"I feel complex about their documentation. :("


People says...

"Perl allows complexly code. That's a masochism language! And anybody has not understood it! Xp"


People says

"Regexp makes confuse."


People says

"Much of meta-characters burns my eyes."


People says

"Full-scale object system isn't there. I asphyxiate..."


People says

"CGI? Ah-ha. It's not fits for web development in this century."


Hey, people.

You're too pessimistc about Perl.


"I feel complex about their documentation. :("

Maybe, you see and say about search.cpan.org.

In 2018, metacpan.org becomes defact standard.

And you'll be have gratitude to SYNOPSIS sentence.


"Perl allows complexly code. That's a masochism language! And anybody has not understood it! Xp"

Poor things...

Surely, perl's motto is "There's More Than One Way To Do It. (TMTOWTDI)".

But, it's not equal to "Perl not allows pragmatic code".


You may use perl as you think without any permission.

However, basic of procedural language is important and don't forget it.


"Regexp makes confuse."

Regexp is a very high level feature. And very difficult.

If you're newbie, I don't recomend to learn full features of regexp.


"Much of meta-characters burns my eyes."

Basically, you learn only followings.

$ -> Scalar value (Variant type only)

@ -> Array

% -> Hash (in other some language, as "Dictionary")


"Full-scale object system isn't there. I asphyxiate..."

I think, POPO(Pure Old Perl Object) is better than full-scale one in perl.

If you really want to full-scale OOP, I recommend Moose or Class::Accessor::Lite


"CGI? Ah-ha. It's not fits for web development in this century."

Learn about Plack and do plack up.

Then, Mojolicious save your hurt.


Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment