Unix哲学大事
Small is beautiful.
Make each program do one thing well.
Build a prototype as soon as possible.
Choose portability over efficiency.
Store data in flat text files.
Use software leverage to your advantage.
Use shell scripts to increase leverage and portability.
etc...
In iOS 16, SwiftUI got a new container for creating an adaptive layout called ViewThatFits.
- You provide views that are perfect for each size.
- ViewThatFits will automatically choose the view that fits based on available space.