Skip to Content
Making Software ―エビデンスが変えるソフトウェア開発
book

Making Software ―エビデンスが変えるソフトウェア開発

by Andy Oram, Greg Wilson, 久野 禎子, 久野 靖
September 2011
Intermediate to advanced
612 pages
15h 48m
Japanese
O'Reilly Japan, Inc.
Content preview from Making Software ―エビデンスが変えるソフトウェア開発
497
<Ctrl-C><Ctrl-V>
、ソフトウェア開発者は誰でも、コピーペースト(別名コードクローニング)が悪
い習慣であると知っています。でも、やっぱりみんなやってしまうのです。ちょっと怠けてるんじゃな
い、と思って顔をしかめるかもしれませんが、結局この手段が正しいのだと確信することもよくありま
す。つまり、望みのものと良く似た事をする既存のコードをコピーペーストして、その後で注意深く仕
上げをする方が、絶対速やかに事が運ぶ、という場合も多いのです。
でも、コピーペーストを居心地悪く感じることも度々あります。私たちは、善良な意図が必ずしも具
体的な動作につながらないことも知っています。お馴染みのポテトチップのように、一口食べたらやめ
らない、ということもあるのです。そして私たちは、容易な道を選ぶことで自分たちのプロジェクトを、
設計を台無しにして保守をするにも一貫性を欠くような方向へと滑り落ちていく斜面に載
せることにな
るのではないか、と疑念を抱くのです。確かに、専門家のアドバイスのほとんどが、コピーペーストは
悪い兆しだから全面禁止、というものです。でも、一体どう悪いというのでしょう?
また、それはど
のようにして分かるのでしょう?
そこで私たちは立ち止まって再考し、いくつかの質問を自らに問いかけてみた方が良いのです。コー
ドの重複は実践においてどの程度有害なのか?
長い目で見た時に明らかな保守の問題につながるの
か?
そもそもコピーペーストを使おうと思う誘因は何か?
開発者がコードをコピーする理由は複数あ ...
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

マイクロフロントエンド ―マイクロサービスアーキテクチャの概念をフロントエンドに拡張し、信頼性、自律性の高いシステムを構築する

マイクロフロントエンド ―マイクロサービスアーキテクチャの概念をフロントエンドに拡張し、信頼性、自律性の高いシステムを構築する

Luca Mezzalira, 嶋田 健志
推薦システム実践入門 ―仕事で使える導入ガイド

推薦システム実践入門 ―仕事で使える導入ガイド

風間 正弘, 飯塚 洸二郎, 松村 優也

Publisher Resources

ISBN: 9784873115115Other