"destructor" in Korean
소멸자파괴자
Definition
소멸자는 어떤 것을 파괴하는 사람이나 사물, 또는 프로그래밍에서 객체가 더 이상 필요 없을 때 메모리 등을 정리하는 특별한 함수입니다.
Usage Notes (Korean)
일상에서는 '파괴자'가 더 익숙하게 사용되며, 프로그래밍에서는 '소멸자'로 씁니다. 일반 파괴자와 개발 용어를 구분해 사용하세요.
Examples
A destructor can break things easily.
**파괴자**는 쉽게 무언가를 부술 수 있다.
The code calls the object's destructor when it is deleted.
코드는 객체가 삭제될 때 **소멸자**를 호출한다.
A virus can be a powerful destructor in a computer system.
바이러스는 컴퓨터 시스템에서 강력한 **파괴자**가 될 수 있다.
The superhero fought against the evil Destructor in the city.
슈퍼히어로가 도시에서 악당 **파괴자**와 싸웠다.
If you don't free up memory, the destructor won't run and you'll have a memory leak.
메모리를 해제하지 않으면 **소멸자**가 실행되지 않아 메모리 누수가 발생한다.
Some games are real time-wasters, but this one is a productivity destructor.
일부 게임은 시간 낭비에 불과하지만, 이 게임은 진정한 생산성 **파괴자**다.