perl::lint is over, for the present

63
Perl::Lint is over, for the present @moznion

Upload: moznion

Post on 04-Jun-2015

1.242 views

Category:

Technology


3 download

DESCRIPTION

つらい話です (It is hard talk)

TRANSCRIPT

Page 1: Perl::Lint is over, for the present

Perl::Lint is over, for the present

@moznion

Page 2: Perl::Lint is over, for the present

@moznion

Page 3: Perl::Lint is over, for the present

Perl::Lint 0.10 is out now! (Not development release)

Page 4: Perl::Lint is over, for the present
Page 5: Perl::Lint is over, for the present

Perl::Lint !

https://github.com/moznion/Perl-Lint  https://metacpan.org/pod/Perl::LInt

Page 6: Perl::Lint is over, for the present

Source Code Linter for Perl

Page 7: Perl::Lint is over, for the present
Page 8: Perl::Lint is over, for the present

Perl::Criticより

だいたい速い!

Page 9: Perl::Lint is over, for the present
Page 10: Perl::Lint is over, for the present

ここまで前説

Page 11: Perl::Lint is over, for the present

今日あんま

技術的な話無いです

Page 12: Perl::Lint is over, for the present

 Perl::Lintを開発して

得られた知見5連発

Page 13: Perl::Lint is over, for the present

1

Page 14: Perl::Lint is over, for the present

Done is better than perfect

Page 15: Perl::Lint is over, for the present

完璧を目指すより

まずは終わらせろ

Page 16: Perl::Lint is over, for the present
Page 17: Perl::Lint is over, for the present
Page 18: Perl::Lint is over, for the present

194 days * 4 hours

Page 19: Perl::Lint is over, for the present

776 hours

Page 20: Perl::Lint is over, for the present

これだけかけても

完璧ではない

Page 21: Perl::Lint is over, for the present

テストケース通してても

無限に謎ケース出てくる

Page 22: Perl::Lint is over, for the present

謎ケースを

あぶり出すには?

Page 23: Perl::Lint is over, for the present

利用者がいないと 始まらない

Page 24: Perl::Lint is over, for the present

実装に10時間かかる

エッジケースに

手間取られている

場合ではない

Page 25: Perl::Lint is over, for the present

素早くリリースして

素早くフィードバックを

得る必要がある

Page 26: Perl::Lint is over, for the present

2

Page 27: Perl::Lint is over, for the present

早すぎる最適化

をしない

Page 28: Perl::Lint is over, for the present

関数呼び出しはコストが……

Page 29: Perl::Lint is over, for the present

関数呼び出しはコストが……

とにかく変数使いまわした方が速い!

Page 30: Perl::Lint is over, for the present

関数呼び出しはコストが……

とにかく変数使いまわした方が速い!

いちいちハッシュに アクセスしない

Page 31: Perl::Lint is over, for the present

関数呼び出しはコストが……

とにかく変数使いまわした方が速い!

いちいちハッシュに アクセスしない

などなど

Page 32: Perl::Lint is over, for the present

関数呼び出しはコストが……

とにかく変数使いまわした方が速い!

いちいちハッシュに アクセスしない

などなど

無駄だ!!!! (無駄ではない)

Page 33: Perl::Lint is over, for the present

早い段階でやっても

よくわからん

Page 34: Perl::Lint is over, for the present

とにかくコードの

見通し悪くなる

開発の効率落ちる

Page 35: Perl::Lint is over, for the present

めっちゃ効くところを

やるなら意味が強い

(今回だとソースコードの

トークナイズ部分とか)

Page 36: Perl::Lint is over, for the present

が、細かいところ

やっても……

Page 37: Perl::Lint is over, for the present

大体出来上がってから

測定しつつ細かい

最適化をした方が良い

Page 38: Perl::Lint is over, for the present

SEE ALSO

推測するな

計測せよ

Page 39: Perl::Lint is over, for the present

早すぎる最適化をしない代わりに

早い段階で考えるべきことは

しっかり考えるべき

(e.g. データ構造,アルゴリズム)

Page 40: Perl::Lint is over, for the present

ここを後で乗せ替えるのは

極めて大変過ぎるので

考えすぎても足りないことはない

Page 41: Perl::Lint is over, for the present

3

Page 42: Perl::Lint is over, for the present

誰でも開発に参加

できるようにしておく

Page 43: Perl::Lint is over, for the present

- Document - Tutorial - Support Script - Pointer to study

Page 44: Perl::Lint is over, for the present

環境整えておかないと

誰も手伝ってはくれない(経験済み)

Page 45: Perl::Lint is over, for the present

そもそも整えてても来る

可能性は低いのに

整えてない所に人来ない

Page 46: Perl::Lint is over, for the present

4

Page 47: Perl::Lint is over, for the present

異常な努力をしない

Page 48: Perl::Lint is over, for the present

ただただつらい

Page 49: Perl::Lint is over, for the present

乗れるものには

乗っておく

Page 50: Perl::Lint is over, for the present

5

Page 51: Perl::Lint is over, for the present

ダンピングをしない

Page 52: Perl::Lint is over, for the present

Perl::Lint = $800

Page 53: Perl::Lint is over, for the present

さてここで簡単な

算数をしましょう

Page 54: Perl::Lint is over, for the present

$800 / ( 194 days * 4 hours )

Page 55: Perl::Lint is over, for the present

$1 / hour

Page 56: Perl::Lint is over, for the present

$1 / hour

Page 57: Perl::Lint is over, for the present

やる前にちゃんと

算数をしましょう

Page 58: Perl::Lint is over, for the present

もらうべき所で

金をもらわないと死ぬ

Page 59: Perl::Lint is over, for the present

あと報酬があらかじめ

決まってるやつは

働けば働くだけ

価値が下がる

Page 60: Perl::Lint is over, for the present

とにかくさっさと

終わらせる事が重要

Page 61: Perl::Lint is over, for the present

頑張ってカネを

ゲットしていきましょう

(まだ$800ゲットしてない)

Page 62: Perl::Lint is over, for the present

Perl::Lintまだまだ

やるべきことは多いので

協力してくれる人

募集中です

Page 63: Perl::Lint is over, for the present

フィードバックも

目下求めています!!