Post #2991220
2026-05-19 14:56 UTC
Maybe I'm to used to C/C++ way of doing things.
I find weird that in Swift you just write code like script in case it is a one file program, but if it's more than one file, then your files must not have statements at top level except one dedicated main.swift file.
I prefer explicit main function instead.
#programming #SwiftLang
Replies (0)
No replies.