Skip to Content
ベタープログラマ ―優れたプログラマになるための38の考え方とテクニック
book

ベタープログラマ ―優れたプログラマになるための38の考え方とテクニック

by Pete Goodliffe, 柴田 芳樹
December 2017
Intermediate to advanced
376 pages
4h 22m
Japanese
O'Reilly Japan, Inc.
Content preview from ベタープログラマ ―優れたプログラマになるための38の考え方とテクニック

5章コードベースの過去の幽霊

私は過去、現在、未来の教えの中に生きます。

この三人の幽霊さま方は、私の心の中で私をはげましてくださいます。

お三方から教えいただきましたことに閉め出しなど喰(く)わせません。

――チャールズ・ディケンズ

『クリスマス・キャロル』†1

[†1] 訳注:村岡花子 訳『クリスマス・キャロル』より。

過ぎ去った古きよき時代は、かつてのままではありません。あなたの古いコードも同じです。活動的なグレムリン†2とタイピングの悪魔が過去のコードに何を潜ませているかなんて誰が分かるでしょうか。それを書いたときには完璧だと思いました。しかし、自分の古いコードを批判的な視点で見れば、あらゆる種類のコードの問題が自ずと明らかになります。

[†2] 訳注:想像上の小悪魔。

プログラマは、人間として前進しようと努めます。私達は、新たな興奮する技法を学んだり、新たな挑戦へ向き合ったり、興味深い問題を解決したりすることが好きです。それは自然なことです。短期間で転職していってしまうこととプログラミング契約期間の平均的な長さを考慮すれば、長い期間、同じコードベースを扱い続けるソフトウェア開発者はごくわずかです。

そのことが、私達が生み出すコードに対してどのように影響するのでしょうか。私達の仕事にどのような種類の態度を育むのでしょうか。ひときわ優れたプログラマ達を決定付けるのは、実際のコードそのものではなく、彼らが書くコードとコードの書き方に対する彼らの態度だというのが私の主張です。

平均的なプログラマ達は、自身のコードを長い期間に渡って保守することはありません。自分達のごみの中で悪戦苦闘するよりは、新たな職場に移って誰か他の人のごみの中で悪戦苦闘する方を選びます。私達は興味が変わる際に、可愛がってきた「ペットプロジェクト」を途中で捨てていくのです。 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

リーンエンタープライズ ―イノベーションを実現する創発的な組織づくり

リーンエンタープライズ ―イノベーションを実現する創発的な組織づくり

Jez Humble, Joanne Molesky, Barry O'Reilly, 角 征典, 笹井 崇司, Eric Ries

Publisher Resources

ISBN: 9784873118208Other