HackerTrans
TopNewTrendsCommentsPastAskShowJobs

isaacabraham79

no profile record

comments

isaacabraham79
·5 лет назад·discuss
What are you thinking of when you say "something goes wrong"?
isaacabraham79
·5 лет назад·discuss
Because JS is pervasive.
isaacabraham79
·5 лет назад·discuss
Since the F# transpiles into JS at runtime it's really no different than, say, TS in terms of performance concerns.

Unless you meant something else there?
isaacabraham79
·5 лет назад·discuss
The Director of the Foundation is a Microsoft employee and they are the creators of the Foundation.

In addition to the obvious issues, this is also about Microsoft and their relationship with the Foundation.
isaacabraham79
·6 лет назад·discuss
No. In languages like F#, you can encode in the type system that the result can be either a customer or an error. And the compiler won't let you "access" the customer until you've safely checked that the result is, indeed, the customer rather than an error.

In this way you end up encoding more intent within your types and behaviours rather than implicitly letting the consumer figure it out themselves.
isaacabraham79
·6 лет назад·discuss
'0' is a string (or char), not a number. Just saying.
isaacabraham79
·6 лет назад·discuss
Yep, this is definitely something that should be made easier and there's an RFC to address it.

There are also some libraries out there that make this easier.

I'd say it's an annoyance and should be improved, but it's nowhere near a blocker for us.