Hacker News new | past | comments | ask | show | jobs | submit login

>I suggest becoming more than superficially familiar, then.

It's a work in progress :)

>With all due respect

No offense taken

> I know one recurring thing I've encountered is that I'd love to be able to say that in [...] that the return result of DoWhatever is guaranteed to be the same type as the thing you called it on

Forgive me, but isn't this generics all over again, or am I missing something?

And once more, is it possible to bake these features into the type system without requiring more boilerplate code? I like the idea of strong guarantees of a type system, but I worry about having to wrestle with the compiler. One of the things I really like about Go is that the type system provides guidance but I don't spend much time making the compiler accept things that I patently know are compatible (I'm looking at you, Rust).




I'd be interested in hearing more about your Rust pain here; we're working a lot on ergonomics and productivity.


It's annoying to sometimes have to introduce artificial blocks just to make the borrow-checker happy. It sounds like there's going to be some work done on non-lexical lifetimes though, which would solve the more annoying of these problems.


Hear you loud and clear, thanks!




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: