Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
I ♥ Swift
Search
Pat Hawks
February 19, 2016
Technology
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
I ♥ Swift
A talk about what makes Swift so cool
Pat Hawks
February 19, 2016
More Decks by Pat Hawks
See All by Pat Hawks
Choosing an Open Source Software License
pathawks
0
78
A Brief Introduction to Magic
pathawks
0
69
callReturnExploration.s
pathawks
0
62
callingFunctions.S
pathawks
2
130
Grokking Signed Overflows
pathawks
0
64
Other Decks in Technology
See All in Technology
Model Studio CLI × Token Plan
maigo999
0
210
My broken English still works: speaking at global OSS events
naruoga
0
120
強化学習「理論」入門
enakai00
3
3.6k
属人化を叩き割れ!「制作加速」と「安定化」の矛盾を打破する:8年目プロダクトが辿り着いた「ミスが起こり得ない」アセット制作フローの全貌
gree_tech
PRO
0
120
20分でわかるセキュアAPI
nwiizo
2
320
巨大気象データと戦う ― サロゲートモデル学習を高速化する圧縮技術
gpuunite_official
0
230
コーチングの奥義 何もしないテクニック
jinwatanabe
0
140
[potatotips #96] Give Your AI Agent the Flutter Playbook
korodroid
0
140
平文パスワードはログに“残り” ── 肝心の侵入は“痕跡すら残らない”
kuroneko13
0
120
私がブラウザを自作したくなった理由
supurazako
1
280
AI画像認識を活用したゲーム内決済処理検証の自動化
gree_tech
PRO
0
110
AIペネトレーションテスト・ セキュリティ検証「AgenticSec」紹介資料
laysakura
2
9.4k
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
97
6.8k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2.1k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.8k
Become a Pro
speakerdeck
PRO
31
6.2k
How to Talk to Developers About Accessibility
jct
2
520
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
210
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
500
Speed Design
sergeychernyshev
33
2k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Believing is Seeing
oripsolob
1
200
Transcript
I http://git.io/GrokSwift
print("Hello, world!")print print("Hello, world!")print
var myVariable = 42 myVariable = 50 let myConstant =
42
let implicitInteger = 70 let implicitDouble = 70.0 let explicitDouble:
Double = 70
myVariable = 42 myVariable = "42" # var myVariable =
42 myVariable = "42" //
final int[] individualScores = [75, 43, 103, 87, 12]; int
teamScore = 0; for (int score : individualScores) { if (score > 50) { teamScore += 3; } else { teamScore += 1; } } System.out.printf("%d\n", teamScore); let individualScores = [75, 43, 103, 87, 12] var teamScore = 0 for score in individualScores { if score > 50 { teamScore += 3 } else { teamScore += 1 } } print(teamScore)
int accumulator = 0; for (int i = 0; i
<= 4; ++i) { accumulator += i; } System.out.printf("%d\n", accumulator); var accumulator = 0 for i in 0...4 { accumulator += i } print(accumulator)
var accumulator = 0 for i in 0...4 { accumulator
+= i } print(accumulator) var accumulator = 0 for i in 0..<5 { accumulator += i } print(accumulator)
var accumulator = 0 for i in 0..<5 { accumulator
+= i } print(accumulator) accumulator = 0 for i in range(0, 5) { accumulator += i } print(accumulator)
•Expressive •Safe •Fast •Expressive •Safe •Fast
I by Pat Hawks is licensed under a Creative Commons
Attribution 4.0 International License Emoji provided free by Emoji One Some content from The Swift Programming Language by Apple Inc. I