技術的負債との付き合い方
Living with Technical Debt in Go
ソフトウェア開発において、技術的負債は避けがたい問題である。納期を優先するあまり、Goのコードに一時的な解決策を積み重ねてしまうことは、どの現場でも起こり得る。
そふとうぇあ かいはつ に おいて、ぎじゅつてき ふさい は さけがたい もんだい で ある。のうき を ゆうせん する あまり、ごー の こーど に いちじてきな かいけつさく を つみかさねて しまう こと は、どの げんば で も おこりうる。
In software development, technical debt is a hard-to-avoid problem. Prioritizing deadlines and piling temporary fixes onto Go code can happen at any workplace.
問題は、負債そのものではなく、それを管理しないことにある。当チームでは、設計の際に発見した負債を記録し、四半期ごとに返済計画を立てることにしている。
もんだい は、ふさい そのもの で は なく、それ を かんり しない こと に ある。とうちーむ で は、せっけい の さい に はっけん した ふさい を きろく し、しはんき ごと に へんさい けいかく を たてる こと に して いる。
The problem lies not in the debt itself but in failing to manage it. Our team records debt discovered during design work and makes a repayment plan every quarter.
リファクタリングの効果は数字に表れにくい。それだけに、改善の前後で計測可能な指標を用意し、経営層に説明できるようにしておくことが重要である。
りふぁくたりんぐ の こうか は すうじ に あらわれにくい。それ だけ に、かいぜん の ぜんご で けいそく かのうな しひょう を ようい し、けいえいそう に せつめい できる よう に して おく こと が じゅうよう で ある。
The effects of refactoring rarely show up in numbers. Precisely for that reason, it is important to prepare measurable indicators before and after improvements so they can be explained to management.
完璧なコードは存在しない。負債と上手に付き合いながら、持続可能な開発を続けることこそが、エンジニアリングの本質ではないだろうか。
かんぺきな こーど は そんざい しない。ふさい と じょうず に つきあいながら、じぞく かのうな かいはつ を つづける こと こそ が、えんじにありんぐ の ほんしつ で は ない だろう か。
Perfect code does not exist. Continuing sustainable development while skillfully living with debt — surely that is the essence of engineering.
How to use this page
Start with all layers on. Once you can follow the story, hide English. Then hide furigana and try reading the kanji alone. Romaji is off by default — lean on kana as early as you can.