Blog post: Why Type Classes?
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
Beginne damit, den Einstiegspunkt für Blogbeiträge der Website zu finden, und sieh dir vorhandene TypeLevel-Beiträge im Hinblick auf Struktur und Konventionen für die Veröffentlichung an. Der fertige Beitrag sollte die praktischen Vorteile von Type Classes erläutern, Beispiele aus TypeLevel-Bibliotheken verwenden, auf Bedenken hinsichtlich Effizienz und Komplexität eingehen und den verringerten Lock-in mit flexiblen IO-Engines in Verbindung bringen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- HTML
- Sterne
- 42
- Forks
- 115
- Ø Merge
- 4 T. 13 Std.
- Gemergte PRs (30 T.)
- 8
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus typelevel/typelevel.github.com
-
Schwierigkeit 3/5 Ein halber Tag Anfängerfreundlichkeit 68/100
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 48/100
typelevel/typelevel.github.com#610 · 4 Kommentare ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 42/100
typelevel/typelevel.github.com#602 · 4 Kommentare ·
-
typelevel/typelevel.github.com#590 · 3 Kommentare · 2 Reaktionen · 1 zugewiesene Person ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
Alle Issues in typelevel/typelevel.github.com
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
Link Checker Report Offenautomated issue report
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
shanselman/TinyToolTown#815 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
[SHOWCASE]: iritvik.com Offen3 star needs images needs review showcase
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100