memrootじしょ
英和翻訳
anti-pattern
anti-pattern
ˌæntɪˈpætərn
アンチパターン
1.
問題に対する一般的な解決策だが、非効率的で逆効果になることが多いアプローチ。特にソフトウェア開発などの分野で、避けるべき設計や慣習を指す。
ある問題を解決しようとする際に、一見すると有効そうに見えるものの、実際には長期的に見ると問題を引き起こしたり、非効率であったりする「やってはいけない」解決策や慣習を指します。ソフトウェア開発などの分野で、より良い設計原則(デザインパターン)の対義語としてよく使われる言葉です。
Using
a
global
variable
for
state
management
is
a
common
anti-pattern
in
modern
software
development.
(状態管理にグローバル変数を使用するのは、現代のソフトウェア開発における一般的なアンチパターンです。)
Using a global variable
グローバル変数を使うこと
for state management
状態管理のために
is a common anti-pattern
一般的なアンチパターンである
in modern software development
現代のソフトウェア開発において
God
object
is
an
anti-pattern
where
a
single
class
holds
too
much
responsibility.
(ゴッドオブジェクトは、一つのクラスが過剰な責任を持つアンチパターンです。)
God object
ゴッドオブジェクト(大量の機能を持つオブジェクト)
is an anti-pattern
アンチパターンである
where a single class
そこでは一つのクラスが
holds too much responsibility
過剰な責任を負っている
Copy-pasting
code
instead
of
refactoring
it
into
a
reusable
function
is
an
anti-pattern.
(再利用可能な関数にリファクタリングする代わりにコードをコピー&ペーストするのはアンチパターンです。)
Copy-pasting code
コードをコピー&ペーストすること
instead of refactoring it
それをリファクタリングする代わりに
into a reusable function
再利用可能な関数へと
is an anti-pattern
アンチパターンである
The
manager
realized
that
micromanagement
was
an
anti-pattern
leading
to
demotivation.
(そのマネージャーは、マイクロマネジメントがモチベーション低下につながるアンチパターンであると認識した。)
The manager realized
そのマネージャーは気づいた
that micromanagement
マイクロマネジメントが
was an anti-pattern
アンチパターンであると
leading to demotivation
モチベーション低下につながる
They
decided
to
avoid
the
'Spaghetti
Code'
anti-pattern
by
strictly
following
coding
standards.
(彼らはコーディング標準を厳格に守ることで、「スパゲッティコード」というアンチパターンを避けることにした。)
They decided
彼らは決めた
to avoid the 'Spaghetti Code' anti-pattern
'スパゲッティコード'というアンチパターンを避けることを
by strictly following
厳格に従うことによって
coding standards
コーディング標準に
関連
design pattern
best practice
bad practice
code smell
refactoring