Blog post: Why Type Classes?
還沒有人認領這個 Issue。
評估
研究方向
首先定位該網站部落格文章的入口點,並查看現有的 TypeLevel 文章,了解其結構和發布慣例。完成的文章應解釋型別類別的實際優點,使用 TypeLevel 程式庫中的範例,回應對效率和複雜性的疑慮,並將降低鎖定與彈性的 IO 引擎連結起來。
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- HTML
- 星號
- 42
- 分支
- 115
- 平均合併
- 4 天 13 小時
- 30 天內合併 PR
- 8
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
typelevel/typelevel.github.com 的其他 Issue
-
難度 3/5 半天 新手友好度 68/100
-
難度 3/5 1-2 天 新手友好度 48/100
typelevel/typelevel.github.com#610 · 4 則留言 ·
-
難度 3/5 1-2 天 新手友好度 42/100
typelevel/typelevel.github.com#602 · 4 則留言 ·
-
typelevel/typelevel.github.com#590 · 3 則留言 · 2 個 reaction · 已指派 1 人 ·
-
難度 5/5 一週以上 新手友好度 35/100
查看 typelevel/typelevel.github.com 的全部 Issue
相似的 Issue
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難度 1/5 1 小時以內 新手友好度 95/100
-
Request: Setka 未關閉new icon permissions in review
難度 2/5 1-3 小時 新手友好度 80/100
simple-icons/simple-icons#15032 ·
-
N: AdGuard Mini for Mac P3: Medium T: Annoyance
難度 2/5 1-3 小時 新手友好度 65/100
AdguardTeam/AdguardFilters#242397 ·
-
onboarding
難度 1/5 1 小時以內 新手友好度 90/100
-
Icons Metro Public Transport
難度 1/5 1 小時以內 新手友好度 75/100
organicmaps/organicmaps#13617 · 1 則留言 ·