TypeScript Limitations: A Developer's Frustration
Struggling with Angular/TypeScript project: inconsistent types, painful type conversion & difficulty with functional programming concepts. Trying to lead by example but facing resistance from team.
I write code, front-end and back-end, and like deploying it on AWS. Software Developer for 20 years, and still love it. Amateur Powerlifter & Parkourist.
Struggling with Angular/TypeScript project: inconsistent types, painful type conversion & difficulty with functional programming concepts. Trying to lead by example but facing resistance from team.
Python has optional, gradual types that can reduce bugs & unit tests needed. Import types, decorate code with them & learn to narrow type handling over time. IDEs like PyCharm offer better code hints & type checkers like mypy help catch errors.
Applying Result type to RxJS is challenging due to its strong types & convention of handling errors with catchError or subscribe. TypeScript can enforce error handling but it's not guaranteed.