アルゴリズムに始まり,アルゴリズムに終わる
「アルゴリズムの勉強のしかた」http://nowokay.hatenablog.com/entry/20110922/1316676007
これを見て強烈な違和感を覚えたので,自分の意見も書いておくことにする.*1
アルゴリズムはとても重要だ.これは間違いない.プログラミングを志す者ならば,必ず学んでおかなければならない基礎知識の一つだ.DBやJavaを使ってるのに「ハッシュも平衡木もB木も知りません」なんて開発者がいるのは,日本IT業界の恥だと思ってる.
89. Use the Right Algorithm and Data Structure
- 作者: 和田卓人,Kevlin Henney,夏目大
- 出版社/メーカー: オライリージャパン
- 発売日: 2010/12/18
- メディア: 単行本(ソフトカバー)
- 購入: 58人 クリック: 2,107回
- この商品を含むブログ (350件) を見る
"Programmers should not reinvent the wheel, and should use existing libraries where possible. But to be able to avoid problems like the bank's they should also be educated about algorithms and how they scale."
"Many say reuse in programming is paramount. Above all, however, programmers should know when, what, and how to reuse. To do that, they should know knowledge of the problem domain and of algorithms and data structures."
"So, read some good books - and make sure you understand them."
そしてアルゴリズムの学習には終わりが無い.それはまるで英語を学習する際の英単語に似ている.小学校や中学校で最初に英語を学ぶ時,それこそthisやbeのレベルの英単語を学ばないものはまずいない.そしてそこそこ英語が上達した人たちも,語彙を増やすための努力は必要だ.その学習には終わりが無いらしい.