실제로 어떻게 쓰이나요?
아래 예문들을 통해 각 단어가 어떤 상황에서 어떻게 쓰일 수 있는지 감을 잡아보세요!
recursively
예문
The function calculates the factorial of a number recursively. [recursively: adverb]
이 함수는 숫자의 계승을 재귀적으로 계산합니다. [재귀적으로: 부사]
예문
The recursive algorithm divides the problem into smaller sub-problems until it reaches the base case. [recursive: adjective]
재귀 알고리즘은 기본 사례에 도달할 때까지 문제를 더 작은 하위 문제로 나눕니다. [재귀 : 형용사]
iteratively
예문
The program calculates the sum of an array iteratively. [iteratively: adverb]
프로그램은 배열의 합을 반복적으로 계산합니다. [반복적으로: 부사]
예문
The iterative algorithm solves the problem by repeating a set of instructions until the solution is found. [iterative: adjective]
반복 알고리즘은 솔루션을 찾을 때까지 일련의 명령을 반복하여 문제를 해결합니다. [반복: 형용사]
추가로 알아두면 좋아요
어떤 단어가 더 많이 쓰이나요?
Iteratively는 프로그래밍 및 컴퓨터 과학, 특히 간단한 문제 및 데이터 구조에서 recursively보다 더 일반적으로 사용됩니다. 그러나 recursively는 여전히 더 복잡한 문제와 알고리즘에 널리 사용됩니다.
어떤 단어가 더 포멀한가요?
recursively와 iteratively는 모두 프로그래밍 및 컴퓨터 과학에서 사용되는 기술 용어이므로 본질적으로 형식적입니다.