Functional Programming in Scala with Cats and Typeclasses

Build generic and robust software by mastering typeclasses, monads, and functional patterns using the Cats library.

4.4 (310) ⏱ 1 ชม. 36 นาที 📚 9 บทเรียน

เกี่ยวกับคอร์สนี้

Moving beyond basic object-oriented patterns in Scala requires a fundamental shift toward functional purity and type-level programming. This course bridges the gap between writing 'better Java' and leveraging the full power of the Scala type system to create highly reusable and testable code. You will transform your approach to software design by moving from imperative logic to declarative functional structures. By learning how to separate data from behavior through typeclasses and managing side effects with monads, you will be able to write applications that are easier to reason about and maintain. What you'll learn: - Understand the core principles of typeclasses and how to implement them using modern Scala features like givens and extension methods. - Apply foundational functional structures including Functors, Applicatives, and Monads to everyday programming tasks. - Implement robust data validation and error handling strategies using the Validated and Either types. - Manage application state, dependencies, and logging through the State, Reader, and Writer monads. - Master monad transformers to simplify complex nested computations and improve code readability. - Practice writing lawful functional code and understand the importance of laws in functional abstractions. - Explore the basics of effect management and lazy evaluation to build stack-safe and efficient programs. The course begins with essential terminology and the conceptual foundations of functional programming before moving into practical applications. You will read through detailed explanations and study code examples that demonstrate how to solve real-world problems using the Cats library. This course is designed for developers who have a basic grasp of Scala syntax and want to explore the functional ecosystem. No prior experience with category theory or functional libraries is required. Start reading to master the functional way of building Scala applications.

สิ่งที่คุณจะได้รับ

  • 📜 ใบประกาศนียบัตร
    เพิ่มในโปรไฟล์ LinkedIn ของคุณ
  • ♾️ เข้าถึงตลอดชีพ
    กลับมาเรียนได้ตลอด ไม่มีหมดอายุ
  • 📱 โทรศัพท์หรือคอมพิวเตอร์
    ใช้งานได้ทุกที่ ทุกอุปกรณ์
  • 💸 คืนเงิน 30 วัน
    ไม่ต้องอธิบาย
  • กระชับและตรงประเด็น
    1 ชม. 36 นาที เนื้อหาเชิงปฏิบัติ

รีวิว (5)

Chloe Bailey AU ผู้เรียนที่ยืนยันแล้ว
★ 4 · 2026-02-25T23:20:55+00:00

นี่เป็นบทแนะนำที่ดีมาก โครงสร้างมีตรรกะ และมันครอบคลุมพื้นฐานได้อย่างมีประสิทธิภาพ อาจจะแนะนำมากเกินไปสำหรับผู้เรียนระดับสูง

خالد بن أحمد آل خليفة BH ผู้เรียนที่ยืนยันแล้ว
★ 5 · 2025-10-28T07:00:55+00:00

ประสบการณ์การเรียนรู้ที่ยอดเยี่ยมมากครับ ตัวอย่างที่ใช้เกี่ยวข้องมากๆ และช่วยให้เข้าใจเนื้อหาได้จริงๆ ชอบมากครับ!

Zofia Woźniak PL
★ 5 · 2025-06-28T06:10:55+00:00

เป็นการแนะนำที่ดีค่ะ ชอบขั้นตอนที่ชัดเจน แม้ว่าโมดูลหลังๆ น่าจะมีตัวอย่างมากกว่านี้อีกหน่อย

Хамит Абильдин KZ ผู้เรียนที่ยืนยันแล้ว
★ 3 · 2025-05-09T01:26:55+00:00

เป็นการแนะนำที่ดีพอสมควรค่ะ น่าจะมีตัวอย่างที่หลากหลายกว่านี้ และการเชื่อมโยงระหว่างบทเรียนน่าจะดีขึ้นนิดหน่อย

Elena Reyes EC ผู้เรียนที่ยืนยันแล้ว
★ 2 · 2025-01-20T22:17:55+00:00

ตัวอย่างไม่ค่อยตรงกับที่สอนเท่าไหร่ แอบงงๆ นิดหน่อยนะ

เขียนรีวิว

หลังจากส่ง เราจะขอให้คุณเข้าสู่ระบบ — ฉบับร่างของคุณถูกบันทึก

ผู้เรียนคนอื่นเรียน

พื้นฐานการเขียนโปรแกรมภาษา Go: ขั้นตอนการเรียนรู้ภาษา Golang พื้นฐาน

เรียนรู้พื้นฐานของภาษากอ ตั้งแต่ไวยากรณ์พื้นฐานไปจนถึงการทำงานร่วมกัน และเริ่มสร้างโปรแกรมเบื้องหลังที่มีประสิทธิภาพ ด้วยการเรียนรู้ขั้นตอนต่อขั้นตอนนี้
★ 4.9 (2,891)
$4.99$9.99

พื้นฐานของภาษาโปรแกรม: หลักการของการเขียนโปรแกรมแบบฟังก์ชัน

ทำความเข้าใจภาษาโปรแกรม ทำงานอย่างไร และเรียนรู้หลักการในการเขียนโปรแกรม เพื่อให้สามารถเรียนรู้ภาษาใหม่ได้ง่าย
★ 4.9 (1,910)
$4.99$9.99

หลักการเขียนโปรแกรมฟังก์ชันใน Scala

เรียนรู้หลักการเขียนโปรแกรมฟังก์ชันโดยใช้ Scala ในการเขียนโค้ดที่สะอาด ปลอดภัย และสามารถดูแลได้ง่ายขึ้น
★ 4.8 (8,269)
$4.99$9.99

Python ดำน้ำลึก: การเขียนโปรแกรมฟังก์ชันและกลไกพื้นฐาน

เรียนรู้กลไกภายในของ Python แบบจำลองการเขียนโปรแกรม และการปิดกั้น และเครื่องมือตกแต่งที่กำหนดเอง เพื่อเขียนโค้ดที่สะอาด มีประสิทธิภาพ และเป็นมืออาชีพ
★ 4.7 (1,048)
$4.99$9.99

คำถามที่พบบ่อย

ฉันต้องใช้อะไรในการเรียนคอร์สนี้? +

แค่โทรศัพท์หรือคอมพิวเตอร์ที่มีอินเทอร์เน็ต ไม่ต้องติดตั้งหรือใช้อุปกรณ์พิเศษ

ฉันชำระเงินอย่างไร? +

ผ่านบัตรด้วย Stripe หรือคริปโต เราไม่เก็บข้อมูลบัตร — Stripe จัดการอย่างปลอดภัย

ฉันขอคืนเงินได้ไหม? +

ใช่ — คืนเงินเต็มจำนวนใน 30 วัน ไม่ต้องอธิบาย

ฉันมีสิทธิ์เข้าถึงนานเท่าไร? +

ตลอดไป เมื่อซื้อแล้วคอร์สเป็นของคุณ กลับมาเรียนได้ตลอด

ฉันจะได้ใบประกาศนียบัตรไหม? +

ได้ เมื่อเรียนจบจะได้รับใบประกาศนียบัตรที่เพิ่มในโปรไฟล์ LinkedIn ได้

ออกแบบสำหรับผู้เรียนใน
เทคโนโลยี ดีไซน์ การเงิน การตลาด สาธารณสุข การศึกษา ธุรกิจการบริการ อุตสาหกรรม