2 ms·
Yeah, it's only the entire basic Syntax of the language they copied. Yes, Swift's semantics are different (since it's essentially a domain-specific language de
by awalton 12y ago
Yeah, it's only the entire basic Syntax of the language they copied.
Yes, Swift's semantics are different (since it's essentially a domain-specific language designed to make writing Cocoa apps faster), but syntax-wise a Go programmer feels right at home reading Swift.
- iv_08 12y agoIf you mean by "entire" the spelling of one keyword and the omitting of parentheses. Everything else seems to be more related to C and various Action/ECMAScript like scripting languages.
- coldtea 12y ago>Yeah, it's only the entire basic Syntax of the language they copied. Because, the keyword for function, keyword, parens-free conditionals and optional semi-colons are "the entire basic syntax" of Go, right? Those are some of the most inconsequential details of Go syntax (all three of them), and of course all existed ages before Go. Python has no semicolons and parens-free conditionals for one.