Kentaro Kuribayashi's blog

Software Engineering, Management, Books, and Daily Journal.

"Perl Best Practices" をモジュール化した Perl::BestPractice

他にあれやこれやを並行して読んでるせいで、Damian Conway さんの "Perl Best Practices" 解読が遅々として進まない昨今、もたもたしてる間に Perl::BestPractice なんてモジュールが登場してしまいました。

Perl::BestPractice is the (for now unofficial) companion module to the O'Reilly "Perl Best Practices" by Damian Conway.

search.cpan.org: Perl::BestPractice - Perl Best Practices, the (unofficial) companion module

というわけで、PPI でもってソースを解析し、PBP で提起されている practice 的にダメな箇所をチェックしてくれるってなモジュール。出るかなぁ、どうかなぁと思ってたら、やっぱり出たー、って感じ。

best practices は 256 個あるのでどうするんだろうなぁ、あるいは、こゆ風に書き換えるといいよと教えてくれる機能があればいいなぁ、と思ったら、TO DO に挙げられていました。

  • Implement more... and more... and more... practises
  • Provide a way to suggest alternative code, where a solution is clear

search.cpan.org: Perl::BestPractice - Perl Best Practices, the (unofficial) companion module

がんばってください……。

Perl Best Practices
Perl Best Practices
posted with amazlet at 05.08.18
Damian Conway
Oreilly & Associates Inc (2005/08/01)
売り上げランキング: 18,538