寫得靚同爛同 OO 冇關,係講梗有冇 decouple 啲 code 同會唔會喺加功能嘅同時定期執吓啲 code
OO 有 OO 嘅拆法 (eg. Polymorphism, Domain Driven Design, Dependency Injection)
Functional 都有 Functional 嘅拆法,我唔知嗰啲 concepts 叫乜名,但通常加埋 TypeScript by features 拆 modules 爛極有限,反正到最後都係 composition tree structures
有埋 test cases 就更好