dwyl / dwyl/learn-javascript

Asynchronous Adventures in Javascript by Benjamin Diaguid

Đang mở
#27 3 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
HTML
Star
65
Fork
15
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

A really, really nice detailed but understandable discussion of the whys and whats and hows and wheres of asynchronous Javascript code, which has previously been to me nothing but dark magical arts:

  1. Understanding the Event Loop: https://medium.com/dailyjs/asynchronous-adventures-in-javascript-understanding-the-event-loop-fc6f968d5f72
  2. Callbacks: https://medium.com/dailyjs/asynchronous-adventures-in-javascript-callbacks-39880f1b470e
  3. Promises: https://medium.com/dailyjs/asynchronous-adventures-in-javascript-promises-1e0da27a3b4
  4. Generators: https://medium.com/dailyjs/asynchronous-adventures-in-javascript-generators-74199218bab2
  5. Async/Await: https://medium.com/dailyjs/asynchronous-adventures-in-javascript-async-await-bd2e62f37ffd

The above gives me courage to have another crack at chapter 17 of "Eloquent Javascript", since I now have more context and googable terms.

'@nelsonic I think you might find the discussion on callbacks useful for your "Elm Architecture in Javascript" tutorial, given that it was assumed the audience might not be familiar with the callback pattern. I myself was aware of delayed evaluation from functional Programming (thunk) but did not quite connect the concept of delayed evaluation with asychronicity, so I get two apples for the price of one!: oh, it is called a callback becauses the function will be called later, depending on whether it has finished its work, or is just needed right now!

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Xem lại năm bài viết được liên kết về event loop, callbacks, promises, generators và async/await, cùng với các tham chiếu đến chương 17 của Eloquent JavaScript và tutorial về Elm Architecture. Issue không nêu tên tệp nào trong repository cũng như thay đổi cụ thể nào, vì vậy hãy xác nhận bản cập nhật tài liệu dự kiến trước khi xác định thế nào là hoàn thành.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript
Lĩnh vực
documentation
Loại issue
Tài liệu
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.