3 ms·
Looks pretty good. I see someone has been reading "The Error Model" by Joe Duffy, eh? The example I would like to see is the one that shows the language's obje
by ainar-g 8y ago
Looks pretty good. I see someone has been reading "The Error Model" by Joe Duffy, eh?
The example I would like to see is the one that shows the language's object-orientedness and message-passing. Something like "public_send" or "define_method". And maybe show runtime reflection capabilities, if Inko has them.
Also, some questions you might want to answer on the main page/in examples:
* What platforms are supported?
* How big is the standard library?
* How do I encode/decode JSON/XML?
* What's the C FFI story?
* Are there benchmarks?
- YorickPeterse 8y ago> Looks pretty good. I see someone has been reading "The Error Model" by Joe > Duffy, eh? Yes! It was a _huge_ inspiration. In fact, I wasn't sure what error handling mechanism to use until I read the article. > Something like "public_send" or "define_method". And maybe show runtime > reflection capabilities, if Inko has them. Good call, I'll note this down. Technically this is possible at the moment, but it's not exactly user friendly. Regarding your list of suggestions, I agree that having those would be nice, and I'll see how I can best add those. The state of the standard library can best be described as "very young". For example, only recently did I manage to add enough building blocks to build a testing standard library, and one of the next goals is to make sure everything is tested before adding more. Benchmarks aren't available yet because I think it's too early. FFI is planned, but not yet supported.
- kuwze 8y agoJust of curiosity, how does the error model of Midori relate an advanced exception system, such as that found in Common Lisp?
- YorickPeterse 8y agoI haven't used Common Lisp, so sadly I'm not sure if the two are related (or how much).
- cpeterso 8y agoFor those who haven't heard of Joe Duffy's error model post (like me): http://joeduffyblog.com/2016/02/07/the-error-model/ http://joeduffyblog.com/2016/02/07/the-error-model/