25

기술 영어 필수 패턴 20개

Day 1: 영어 문서 공포증

학습 목표

기술 문서에서 자주 나오는 표현 패턴을 익힌다 패턴을 보고 바로 의미를 파악할 수 있다

기술 영어는 패턴이다

문법 공부할 필요 없다. 자주 나오는 패턴만 외우면 된다.


설치/설정 패턴

영어한국어예시
Install X using YY로 X를 설치해라Install pandas using pip
Run the following command다음 명령어를 실행해라Run the following command: npm install
Make sure X is installedX가 설치되어 있는지 확인해라Make sure Node.js is installed
Set X to YX를 Y로 설정해라Set timeout to 30

함수/API 패턴

영어한국어예시
Returns XX를 반환한다Returns the sum of two numbers
Takes X as argumentX를 인자로 받는다Takes a string as argument
Accepts XX를 허용한다Accepts an optional callback
Raises X / Throws XX 에러를 발생시킨다Raises ValueError if invalid
Defaults to X기본값은 X다Defaults to None

조건 패턴

영어한국어예시
If X, then YX면 Y해라If true, return early
When X happensX가 발생하면When error occurs, log it
In case of XX인 경우In case of failure, retry
Unless XX가 아니면Unless specified, use default

주의/경고 패턴

영어한국어예시
Note:참고:Note: This is experimental
Warning:경고:Warning: This will delete data
Important:중요:Important: Backup first
Deprecated더 이상 사용 안 함This function is deprecated
Required필수API key is required
Optional선택Timeout is optional

실전 테스트

다음 문장을 해석해보자:

"Returns the parsed JSON object. Raises JSONDecodeError if the input is not valid JSON."

해석:

  • Returns the parsed JSON object = 파싱된 JSON 객체를 반환한다
  • Raises JSONDecodeError = JSONDecodeError를 발생시킨다
  • if the input is not valid JSON = 입력이 유효한 JSON이 아니면

결론: JSON을 파싱해서 반환하는데, JSON이 잘못되면 에러난다.

이 정도만 읽을 수 있으면 API 문서 읽기 준비 완료.