gringrape / coding-life

여러가지 실험, 문제 풀이, 연습
1 stars 0 forks source link

SICP - mapping over list #21

Closed gringrape closed 1 year ago

gringrape commented 1 year ago

map 연산

map 연산을 활용한 경우와 그렇지 않은 경우 비교.

map 연산을 활용이 실제 실행되는 프로세스는 같지만, 실행과정을 조직화하는 '생각'의 차이를 만들어내는 과정 임을 지적.

The difference between two definitions is not that computer is performing a different process. but that we think differently about the process differently.

변환 자체의 관심사와 list 의 내부구조를 다루는 세부적 관심사를 분리함.

In effect, map helps establish abstraction barrier that isolates the implementation of procedures that transforms the list from the details of how the elements of list are extracted and combined.

gringrape commented 1 year ago

mapping over list 의 나머지 문제를 풀어야 함.