[Pitch ⚾️] Simplifying effects of throwing and asynchronous functions

My production server already depends on this patch. Please hotfix on a 6.1.1 release ASAP.

4 Likes

Too real. :disappointed_face:

3 Likes

Wot ’id u just call me, mate??

3 Likes

±1 for me

4 Likes

No, I don't want no thrubscraits :musical_note:

2 Likes

I'd really like to see access modifiers be made more compact as well:

pubruct User {
    pubnit(name: String) {
        self.name = name
    }
    prilet name: String
    fileprunc describe() {
        print(name)
    }
}
``
5 Likes

Imo Swift is too verbose altogether. I propose to extend the pitch and simply deprecate all Swift syntax in favor of punchcards.

2 Likes

Misses out on adding the same type of syntactic sugar to function signatures, does it not?

func f() async throws -> X

Could be...

func f() thasyncs -> X

Just add the "s" to the proposed keywords and we're gold!

This was an April Fool's Day joke; I don't think we need to keep it open. If folks want to have an earnest discussion, it's probably best to start a new thread.

4 Likes