2 ms·
The "Foundation" and "CFAbsoluteTimeGetCurrent" are very easily fixable surface level details. "range(15)" vs "0..<15" could go either way. "let" vs "var" in
by jimbokun 7y ago
The "Foundation" and "CFAbsoluteTimeGetCurrent" are very easily fixable surface level details.
"range(15)" vs "0..<15" could go either way.
"let" vs "var" in Swift is indeed something that adds verbosity relative to Python, and adds some cognitive load with the benefit of better correctness checking from the compiler. Very much a static vs dynamic typing thing. That's where you'll see the real friction in Swift adoption for developers less invested in getting the best possible performance.