Eigenstate: myrddin-dev mailing list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

An idea for error handling that could work with Myrddin


I just put a new post on my web site:

http://kirbyfan64.github.io/posts/an-idea-for-concise-checked-error-handling-in-imperative-languages.html

Although I used Crystal in the examples, I had Myrddin in mind. I just was
too lazy to think of how the semantics would be in a low-level language,
and Crystal's syntax is close to Ruby, which is really well-known.

But the idea could still apply well, especially since Myrddin has type
inference like I mentioned. However, I'm not sure how exactly throwing
errors would be, since, without some kind of copy constructor system, I
could see it being somewhat hard to debug.

Anyway, thoughts?

-- 
Ryan
[ERROR]: Your autotools build scripts are 200 lines longer than your
program. Something’s wrong.
http://kirbyfan64.github.io/

Follow-Ups:
Re: An idea for error handling that could work with MyrddinAndrew Chambers <andrewchamberss@xxxxxxxxx>
Re: An idea for error handling that could work with MyrddinOri Bernstein <ori@xxxxxxxxxxxxxx>