0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

技術英語 > Working with pointers successfully requires a [two-pronged] strategy. / 2つのコピーは、将来きっと枝分かれすることになる

Last updated at Posted at 2016-09-01

@ Code Complete (No. 10933 / 36077)

Working with pointers successfully requires a two-pronged strategy.

2つの先を持つ

どういう2つかというと

  • First, avoiding installing pointer errors in the first place
    • 最初からポインタエラーを入れない
  • Second, detect pointer errors as soon after they are coded as possible.
    • コードにポインタエラーを入れた直後に検知する

関連して思い出したのは

@ テスト駆動開発による組み込みプログラミング by James W. Grenningら
p66

もちろん、あなたはテスト済みのコードをコピーするのはまったく安全だと思っているだろう。だが注意しよう。2つのコピーは、将来きっと枝分かれすることになる

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?