Swift was developed by a lot of former C++ committee members, and in C++ circles they’ve been advocating for it as a “successor language” for quite some time.
This could definitely be confusing if you don’t have that context, but making Swift useful for this kind of project has been an explicit goal of the Swift developers for years.
My poodle knows how to tap the homepad with his nose to play music. He gets up to it, taps it, and then curls down beneath it to listen. It’s very cute and definitely intentional on his part.