3 ms·
"If you're experienced with C# it'll be pretty easy to pick up. But, if you really want one..." I disagree with the implication that people who know C# can jus
by Someone 11y ago
"If you're experienced with C# it'll be pretty easy to pick up. But, if you really want one..."
I disagree with the implication that people who know C# can just jump in without reading anything. For starters, you have to learn the syntax somewhere. For example, I don't see how one could learn the way one writes try-catch in Swift without reading about it, or how one learns about 'let' and 'var'.
Secondly, there are deeper differences one has to learn. Some clear examples I can think of are:
- protocols
- collections are value types
- checked integer arithmetic is the default
- the way strings are sequences of extended grapheme clusters,
not of bytes or Unicode code points
So, read the book. If you know C# (or any remotely Algol-, Pascal- or C-like language), lots will be familiar, but there will be bits to learn that would be huge stumbling blocks if you didn't know about them.