|
|
|
|
|
by dugmartin
931 days ago
|
|
Look interesting but my first thought is I don't see any error case code. Given this language is really about abstracting network calls to external services as objects/methods wouldn't it make sense to have return values be maybes and then be able to pattern match on that given that these are not local calls and networks/services do fail? My guess is an actor pattern where you are sending messages to these services and waiting for responses instead of faking a local call would surface the error conditions in a much cleaner way, ala Erlang or Elixir. This may be helpful: https://www.joelonsoftware.com/2002/11/11/the-law-of-leaky-a... |
|