1/33
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
Asynchronous
callbacks are used in general
Future class
represents a potential value or error that will be available at some time in the future
Async Await
provides a more linear and readable way to write asynchronous code, reducing the need for nested callbacks or .then() chains
Reading data from a file asynchronously
consider these use cases (1)
Receiving data from the network
consider these use cases (2)
Listening to events from a sensor
consider these use cases (3)
Handling a continuous flow of data
consider these use cases (4)
Stream
continuous
Synchronous
blocking operations while in progress, the program is unresponsive
Asynchronous
non-blocking
Asynchronous
use callbacks, futures, Streams to NOTIFY the programs when they’re finished
Ensures App Quality
importance, correctness and usability leads to better UX
Reduces Bugs
importance, errors
Maintainability
importance, incremental
Unit Testing
types (1)
Widget Testing
types (2)
Integration testing
types (3)
Small, Fast, Isolated
pros of unit (1)
Easy to Write
pros of unit (2)
Early Detection
pros of unit (3)
Limited Scope
cons of unit (1)
Need to Setup
cons of unit (2)
Refactoring
cons of unit (3)
Test UI
pros of widget (1)
Simulate User Interaction
pros of widget (2)
More Comprehensive
pros of widget (3)
Limited Scope
cons of widget (1)
Harder to Write than Unit
cons of widget (2)
Tests the Whole App
pros of integration (1)
Simulates Real World Issues
pros of integration (2)
Highest Confidence
pros of integration (3)
Slowest
cons of integration (1)
Harder to Write
cons of integration (2)
Harder to Debug
cons of integration (3)