Stream: ideas

Topic: reassignable sigil syntax


view this post on Zulip Richard Feldman (Oct 26 2025 at 22:55):

we originally settled on the _ suffix for names that are reassignable with var, but that was before static dispatch, and the _ suffix looks really unfortunate with static dispatch: :sweat_smile:

iter_ = iter_.next()

view this post on Zulip Richard Feldman (Oct 26 2025 at 22:56):

it looks fine with the runner-up, which was a $ prefix:

$iter = $iter.next()

view this post on Zulip Richard Feldman (Oct 26 2025 at 22:56):

seems like we should go back to that instead - what do others think?

view this post on Zulip Brendan Hansknecht (Oct 26 2025 at 23:12):

I think $ looks better in general.


Last updated: Jun 16 2026 at 16:19 UTC