jakt
jakt copied to clipboard
Feature suggestion: consider changing `!` infallible unwrapping syntax with `!!`
When I wrote a lot of Swift code, I noticed I can't search quickly for the places where I just !
to not care yet, to replace those with ?
later, the !
symbol is used in strings ("Hello, World!"
, for example), compares (!=
) and bool inverses (!bool
), so I couldn't just search for the !
character to find all the infallible unwraps I wanted to change without going through a lot of !=
and !bool
.
I think that's what happened with Kotlin too, where they use !!
for infallible unwraps.
What do you think? :) Cool language you have here, I will definitely try it out! Thanks.