⌨️Code Conventions
Variables
Use Cascade Notation
Flutter
Demo d1 = new Demo();
Demo d2 = new Demo();
// Bad - Without Cascade Notation
d1.setA(20);
d1.setB(30);
d1.showVal();
// Good - With Cascade Notation
d2..setA(10)
..setB(15)
..showVal();Rust
Use expression bodies
Flutter
Rust
Inline TODOs
Dependencies and Crates
Last updated
Was this helpful?

