콜백 헬보다는 훨씬 낫고, 프라미스 하나만 쓸 때보다 더 단순합니다. 사람이 생각하는 것과 거
의 같은 방법으로 동작합니다. 실행 또한 간단합니다.
grun
(
theFutureIsNow
);
14.4.1
1보 전진과 2보 후퇴?
“그냥 세 개의 파일을 동시에 읽으면 더 효율적이지 않나?” 예리한 질문을 하는 독자도 있을 겁
니다. 그 질문에 대한 답은 문제에 따라, 자바스크립트 엔진에 따라, 운영체제에 따라, 파일시
스템에 따라 크게 다를 수 있습니다. 하지만 복잡한 부분은 잠시 미뤄두고, 세 파일을 읽는
순
서는 상관이 없다
는 것, 그리고 설령 세 파일을 동시에 읽었다 한들 과연 효율적일지는 의문스
럽다는 점을 상기합시다.
theFutureIsNow
함수를 이런 식으로 만든 것은, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.