4 ms·
I am not a zealot as the book might describe. My personal goals are portability and predictability of code. Use of functions with defined return types in TypeSc
by throwaway0asd 4y ago
I am not a zealot as the book might describe. My personal goals are portability and predictability of code. Use of functions with defined return types in TypeScript, as opposed to other containers by reference, allow me to achieve those goals.
Most of my functions though are void functions (returning null or undefined). It’s not essential to me that functions must return a value, in defiance to functional programming, so long as like instructions are grouped in a single container that may be called by reference.