Upgrade.배우고익히기
fail-fast 기법
Sogno소뇨
2020. 4. 7. 13:32
# fail-fast 란?
[ Fail-fast - Wikipedia ]
In systems design, a fail-fast system is one which immediately reports at its interface any condition that is likely to indicate a failure. Fail-fast systems are usually designed to stop normal operation rather than attempt to continue a possibly flawed process.
아직 배움이 짧은 내 기준으로 설명+이해하자면, if 구문 등을 실행 시 실패(즉, 실행되지 않을 경우)를 먼저 작성하여 불필요한 함수를 읽는 과정이 되도록 없도록 하는 것