Practical Functional Programming in Dart & Flutter

Описание к видео Practical Functional Programming in Dart & Flutter

📗 Learn from the written tutorial 👇👇
https://resocoder.com/practical-fp-dart

📧 Get Flutter news 📰 and resources:
👉 http://flutter.education

While Dart is at its core an object-oriented programming language, that doesn’t mean that you’re stuck only with that paradigm. In fact, Dart is something called a multi-paradigm language! Functional programming (FP) makes your code easier to test and reuse and also makes it less error-prone.

With Dart, it’s easy to start introducing practical functional concepts into your code in a reasonable amount. This way, you reap the benefits of FP while not confusing others (and yourself) with how your Dart code is written.

00:00 Imperative vs Functional
14:12 OOP Class Hierarchies
17:05 FP Algebraic Data Types
23:35 Error Handling with Try-Catch
27:27 Error Handling with Either

Комментарии

Информация по комментариям в разработке