Re:Type-safe GraphQL with OCaml
by ernst_klim on Friday December 01, 2017 @03:43AM
(#15822732)
>requirements is higher than the time cost of using a less perfect language but richer ecosystem; but that could be totally wrong.
Believe me, breakdowns will cost much more, especially if your device has no ssh, connected via ASI/some military obscure one-directional interface. I found that in many fields it's incredibly hard to approve third party libs usage, even some basic stuff like boost.
>~1.5KLOC - sure, it's Go, but that's a bit more than 10 minutes
cron should be easier, it's either vars or cronlines, which are trivial. I prefer to write it in angstrom than to catch some unexpected panic in go because of type coercion or similar shit.
Believe me, breakdowns will cost much more, especially if your device has no ssh, connected via ASI/some military obscure one-directional interface. I found that in many fields it's incredibly hard to approve third party libs usage, even some basic stuff like boost.
>~1.5KLOC - sure, it's Go, but that's a bit more than 10 minutes
Well, it is Go.
This is go json parser:
https://github.com/buger/jsonparser/blob/master/parser.go
And this is angstrom:
https://github.com/inhabitedtype/angstrom/blob/master/exampl...
cron should be easier, it's either vars or cronlines, which are trivial. I prefer to write it in angstrom than to catch some unexpected panic in go because of type coercion or similar shit.