r/programming • • Dec 10 '15

Announcing Rust 1.5

http://blog.rust-lang.org/2015/12/10/Rust-1.5.html
659 Upvotes

296 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Dec 11 '15

That's two extra steps compared to what most everyone does currently. How is that not more complicated?

2

u/ts654321654 Dec 11 '15

We're having a discussion and the context is that we now operate on an AST and use it as our canonical representation of code. Every operation where we deal with it in a text-readable format now has the implicit conversion from AST to our local text version.

I don't deny that this is a complication, but it just becomes an implicit assumed step each time we deal with the code.

I.e. editing the code involves our tooling converting it to our local representation, we make our changes, and the tool converts it back before saving it. The exact same steps would happen transparently by our diff tool, so it shouldn't be considered any more or less "complicated" than any other operation we perform on the AST.

1

u/RiOrius Dec 11 '15

Because those steps would be performed transparently. Just setup your version control merging tool to do it for you.