Sam Schlinkert is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

@schlink Rust has `into()`, that lets the compiler automatically convert an argument to the type needed by the function without you having to do it explicitly (assuming a type conversion has been defined)

@schlink it's hard to find linkable docs on it though...

Sam Schlinkert @schlink

@seanlinsley trade-offs!

I'm mostly going from Stack Overflow with my issues so far (e.g. stackoverflow.com/questions/10 )

But I'm planning on doing this same little game in both Rust and C++ and then maybe writing up the experience in a blog post.

· Web · 0 · 1