logoalt Hacker News

khatyesterday at 4:30 PM2 repliesview on HN

Simplicity in the tag line but uses Result<T, E>. Should've followed Zig's direction for error handling. With that out of the way looks like a fun little language.


Replies

bramadityawyesterday at 6:06 PM

Zig's way is "simple" but not elegant, specifically since it hard codes how error handling is done. Algebraic data types are more elegant, since it can be used not just for error handling, but also other kinds of data modeling.

v0id_isgoodyesterday at 4:32 PM

if you think so then open an issue or contribute to it :D we can discuss about it and decide which is the best option