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
120
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
63
A Brief Introduction to Magic
pathawks
0
60
callReturnExploration.s
pathawks
0
57
callingFunctions.S
pathawks
2
120
Grokking Signed Overflows
pathawks
0
61
Other Decks in Technology
See All in Technology
人はいかにして 確率的な挙動を 受け入れていくのか
vaaaaanquish
4
2.5k
20260120 Amazon VPC のパブリックサブネットを無くしたい!
masaruogura
2
160
SwiftDataを覗き見る
akidon0000
0
310
Proxmoxで作る自宅クラウド入門
koinunopochi
0
180
新規事業 toitta におけるAI 機能評価の話 / AI Feature Evaluation in toitta
pokutuna
0
250
Lambda Durable FunctionsでStep Functionsの代わりはできるのかを試してみた
smt7174
2
140
CodeRabbit CLI + Claude Codeの連携について
oikon48
1
640
【Oracle Cloud ウェビナー】ランサムウェアが突く「侵入の隙」とバックアップの「死角」 ~ 過去の教訓に学ぶ — 侵入前提の防御とデータ保護 ~
oracle4engineer
PRO
2
210
書籍執筆での生成AIの活用
sat
PRO
1
210
漸進的過負荷の原則
sansantech
PRO
3
360
アウトプットはいいぞ / output_iizo
uhooi
0
140
SREの仕事を自動化する際にやっておきたい5つのポイント
jacopen
6
950
Featured
See All Featured
Information Architects: The Missing Link in Design Systems
soysaucechin
0
750
A designer walks into a library…
pauljervisheath
210
24k
Testing 201, or: Great Expectations
jmmastey
46
7.9k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
79
The Curse of the Amulet
leimatthew05
1
7.7k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
69
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.8k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
0
97
Build your cross-platform service in a week with App Engine
jlugia
234
18k
The SEO Collaboration Effect
kristinabergwall1
0
340
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
260
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