Created
June 3, 2018 02:08
-
-
Save ytnobody/78b8582eab14e33b86c766394ab3ccf9 to your computer and use it in GitHub Desktop.
Revisions
-
ytnobody created this gist
Jun 3, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,149 @@ # 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 ---  --- ## but ... --- ## Today people says "Perl is guilty". ---  --- ## 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.