I’m _still_ writing `try { } catch …` in Swift instead of `do`.

I guess I am yet to learn do or do not. There is no try.

· · Web · 0 · 4 · 22

@schwa You obviously missed the chapter on Yodeption handlers.

@schwa this has been my struggle since they introduced it in Swift. Old habits die _really_ hard

@schwa whereas I always write `do: ... catch: ...` in Python instead of `try: ... except: ...` 😆

@schwa Here’s an idea: Embrace it and create a tab-trigger shortcut snippet thing to expand from `try`

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!