News for hackers. Stuff that matters.
Re:RFC: Adopt a modern JavaScript framework for use with Med... by iaml on Thursday March 19, 2020 @09:41PM (#22633715)
> Typescript aims to model a strongly typed, OPP language

That's a rather puzzling statement, to be honest. Strong type system is explicitly one of the non-goals[0]. I write typescript code everyday and most of it is functional. Things like fp-ts[1] make it even more enjoyable.

[0] https://github.com/Microsoft/TypeScript/wiki/TypeScript-Desi... [1] https://github.com/gcanti/fp-ts

Re:RFC: Adopt a modern JavaScript framework for use with Med... by orange8 on Friday March 20, 2020 @09:59PM (#22643592)
Am comfortable using both OOP and functional styles, though I do enjoy the flexibility and terseness that can be produced from the functional approach.

What I meant by the comment is that when using TS, I just find it more easy and natural to go with the proper OOP approach. I think the very existence of a separate library to enable a more functional style in TS proves this goal has not been met yet.

Re:RFC: Adopt a modern JavaScript framework for use with Med... by iaml on Sunday March 22, 2020 @12:33PM (#22656201)
Functional languages usually have extensive standard library, while js does not. Adding it is not really a goal of ts.