3 ms·
Truly an exceptionally beautiful and polished stdlib: https://twitter.com/dmitriid/status/1201441652507844608 https://twitter.com/dmitriid/status/12014416525078
by dmitriid 6y ago
Truly an exceptionally beautiful and polished stdlib: https://twitter.com/dmitriid/status/1201441652507844608 https://twitter.com/dmitriid/status/1201441652507844608
I especially like that you have file operations defined on String type.
- saagarjha 6y agoThe first two lines of your example interact with the standard library.
- dmitriid 6y agoThe first two lines of which version? Also, how is it that a "well-designed and polished" standard library doesn't have a means to write to a file?
- saagarjha 6y agoEither version. And, FWIW, a standard library that is well-designed and polished can be spartan; Swift's has been on the operating system interface side because Foundation exists.