Wilfred Hughes (@_wilfredh) 's Twitter Profile
Wilfred Hughes

@_wilfredh

Programming language development, human factors, and a healthy dose of Emacs. Also mastodon.social/@wilfredh and threads.net/@wilfred.hughes

ID: 46255806

linkhttp://wilfred.me.uk calendar_today10-06-2009 23:23:26

11,11K Tweet

3,3K Followers

2,2K Following

Wilfred Hughes (@_wilfredh) 's Twitter Profile Photo

I'm experimenting with syntax in examples. I don't really like Rust's `assert(inc(1) == 2)` syntax, I find it a little distracting. I'm trying `inc(1) //-> 2`. The comment is rendered differently, and there's nothing before the sample code. What do you think?

I'm experimenting with syntax in examples. I don't really like Rust's `assert(inc(1) == 2)` syntax, I find it a little distracting.

I'm trying `inc(1) //-> 2`. The comment is rendered differently, and there's nothing before the sample code. What do you think?