workaround

workaround /ˈwɜːrkəraʊnd/

使い方ポイント

「根本解決ではないが、今この場を乗り切るための現実的な手段」として使われる表現。
設計的に美しくないこと、暫定であること、技術的負債の匂いをあえて含ませたまま使うのがポイント。

重要なのは:

fix ではない

solution と言い切らない

「本当は直すべきだけど、今は無理」という空気を共有するための言葉

workaround と言った瞬間に、
「これは temporary だよね」「あとでちゃんと直すよね」という暗黙の了解が生まれる。

例文

We can’t fix the bug before release, so we added a workaround and promised ourselves we’ll clean it up later.
リリース前にバグは直せないので、workaround を入れて「あとで直す」と言い聞かせた。
This is a workaround. It works, but please don’t ask me to explain it.
これは workaround。動くけど、説明はしたくない。
The workaround keeps things running, and that’s all we can say about it.
この workaround で一応動いている。それ以上は何も言えない。

会話例

A: Is this the correct behavior?
B: No.
A: Is it documented?
B: Also no.
A: Then what is this?
B: A workaround.

上部へスクロール