Blog post: Why Type Classes?
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách xác định điểm bắt đầu của các bài đăng blog trên trang web và xem lại các bài đăng TypeLevel hiện có để nắm được cấu trúc cũng như các quy ước xuất bản. Bài đăng hoàn chỉnh nên giải thích những lợi ích thực tế của type class, sử dụng các ví dụ từ các thư viện TypeLevel, đề cập đến những lo ngại về hiệu năng và độ phức tạp, đồng thời liên hệ việc giảm lock-in với các IO engine linh hoạt.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hypothetical blog post that might be quite helpful, for anyone who wants to pick it up.
Lay out the argument for why type classes are a helpful way to do things. Ideally, this should not waste much time getting into the nitty-gritty of what a type class is, just link to the details (where?). Instead, focus on why type classes are a good business decision -- how they help promote better, more maintainable designs via cleaner abstractions. Provide examples of various sorts of type classes from various TL libraries. Make the case that they are fine from an efficiency POV, and not nearly as complicated as some people make it sound -- they're just a different kind of interface.
In particular, emphasize the way that the type class approach promotes better flexibility down the road, and resists too much lock-in: by stating exactly your requirements, it allows you to use whatever components fit those requirements. Possibly say in as many words that a type class based approach to the IO level allows you to be flexible even about the main engine driving the applications, and thus resists lock-in. Be clear that this is why, while cats-effect has a world-class IO engine, we tend to think of the type classes as the most important part, so that the users have this long-term flexibility.
- Ngôn ngữ chính
- HTML
- Star
- 42
- Fork
- 115
- Merge trung bình
- 4 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 8
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của typelevel/typelevel.github.com
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 68/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
typelevel/typelevel.github.com#610 · 4 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
typelevel/typelevel.github.com#602 · 4 bình luận ·
-
Start Contributing Guide pages Đang mở
typelevel/typelevel.github.com#590 · 3 bình luận · 2 reaction · 1 người được giao ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Tất cả issue của typelevel/typelevel.github.com
Issue tương tự
-
Add: hunch Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
AbdelStark/awesome-typesafe#104 ·
-
Admissions heading updates Đang mởa11y admissions.uiowa.edu needs grooming SiteImprove best practice
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
AllTheMods/ATM-10-L#19 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 74/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100