Comment

Comment by sjustinas

Are there plans for docs to be updated? The 0.3 release notes claim:

> Option and Result are now separate types: ?Foo and !Foo respectively. Old code will continue working for 1 year and will result in a warning/hint.

Yet, doc/docs.md still states:

> V combines Option and Result into one type, so you don't need to decide which one to use.

Is there an up-to-date doc, or how does one find out more about these types? I found parts of the RFC overhauling the error handling [0] pretty bizarre, so I'm interested to see how the implementation turned out.

[0]: https://github.com/vlang/rfcs/pull/7

edit: linked to the wrong RFC initially.

parent sjustinas 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton