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
0
110
I ♥ Swift
A talk about what makes Swift so cool
Pat Hawks
February 19, 2016
Tweet
Share
More Decks by Pat Hawks
See All by Pat Hawks
Choosing an Open Source Software License
pathawks
0
52
A Brief Introduction to Magic
pathawks
0
56
callReturnExploration.s
pathawks
0
55
callingFunctions.S
pathawks
2
120
Grokking Signed Overflows
pathawks
0
56
Other Decks in Technology
See All in Technology
無意味な開発生産性の議論から抜け出すための予兆検知とお金とAI
i35_267
0
880
Node-RED × MCP 勉強会 vol.1
1ftseabass
PRO
0
180
Understanding_Thread_Tuning_for_Inference_Servers_of_Deep_Models.pdf
lycorptech_jp
PRO
0
150
タイミーのデータモデリング事例と今後のチャレンジ
ttccddtoki
4
1.3k
作曲家がボカロを使うようにPdMはAIを使え
itotaxi
0
390
WordPressから ヘッドレスCMSへ! Storyblokへの移行プロセス
nyata
0
330
Amazon Bedrockで実現する 新たな学習体験
kzkmaeda
2
680
Tokyo_reInforce_2025_recap_iam_access_analyzer
hiashisan
0
140
整頓のジレンマとの戦い〜Tidy First?で振り返る事業とキャリアの歩み〜/Fighting the tidiness dilemma〜Business and Career Milestones Reflected on in Tidy First?〜
bitkey
0
220
CI/CD/IaC 久々に0から環境を作ったらこうなりました
kaz29
1
200
なぜ私はいま、ここにいるのか? #もがく中堅デザイナー #プロダクトデザイナー
bengo4com
0
1.3k
KubeCon + CloudNativeCon Japan 2025 Recap Opening & Choose Your Own Adventureシリーズまとめ
mmmatsuda
0
230
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
The Language of Interfaces
destraynor
158
25k
Building Adaptive Systems
keathley
43
2.6k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Why Our Code Smells
bkeepers
PRO
337
57k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.8k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.9k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Scaling GitHub
holman
459
140k
Side Projects
sachag
455
42k
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