Рет қаралды 101
1) #NULL. use options or maybe monads
2) #Exceptions. Use error as a value and monadic interfaces. the even better way is algebraic effects
3) coloring functions. #await, etc., use algebraic effects and handlers
4) concurrent programming and locks: actor model and go-like channels could help
5) Fragile classes and overuse of inheritance: prototypal inheritance and data-oriented programming
/ multidollar-common-pro...