11

So they are back, wanting another quick PR approved.
The PR:

```
let isDisabled = switch quantity > 0 {
| true =>
switch value !== "" {
| true => false
| false =>
switch inputStatus {
| Valid =>
switch inputData {
| Ok(a) => a !== 0.0 ? false : true
| Error(_) => true
}
| _ => true
}
}
| false => true
}
```

Comments
  • 3
    First line says it's all.

    It's disabled.
  • 2
    What language is this? Or just pseuodocode?
  • 1
    @curiousjoe my first guess would be ReScript or ReasonML, but not sure at all…
  • 1
    ReScript.. proof even fancy languages let you do awful things 😊
  • 0
    @whyreadthis since you’ve actually used ReScript, what’s your take on it?
  • 2
    It can be nice and a solid codebase if you have a more FP background. The safety it provides and FP design patterns it enables are pretty good. So I like it more than TS, but maybe less than Elm/F#:Fable/Purescript.

    I'm concerned about the factiousness of the community and leadership, and the package support and direction.

    Also concerned about the language direction to be more of a "cooler typescript" and some of the less principled language changes on the roadmap.

    Writing bindings might be "fun", but not sure it's great return in invested time.

    Eh.. to date I'd put it in the "wait and see" category for larger teams.
Add Comment