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
55
callReturnExploration.s
pathawks
0
55
callingFunctions.S
pathawks
2
120
Grokking Signed Overflows
pathawks
0
56
Other Decks in Technology
See All in Technology
他チームへ越境したら、生データ提供ソリューションのクエリ費用95%削減へ繋がった話 / Cross-Team Impact: 95% Off Raw Data Query Costs
yamamotoyuta
0
170
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
740
Postman AI エージェントビルダー最新情報
nagix
0
190
What's Next in OpenShift Q2 CY2025
redhatlivestreaming
1
480
Swiftは最高だよの話
yuukiw00w
2
280
超簡単!RAGアプリケーション構築術
oracle4engineer
PRO
0
110
Okayama WordPress Meetup #12 | そのバックアップ、本当に復元できますか? リストアやってみた!
takeshifurusato
0
110
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
3
17k
2025advance01
minamizaki
0
120
令和トラベルQAのAI活用
seigaitakahiro
0
480
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
24k
AIエージェントデザインパターンの選び方
almondo_event
0
120
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Designing for Performance
lara
608
69k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
830
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Into the Great Unknown - MozCon
thekraken
38
1.8k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Docker and Python
trallard
44
3.4k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
123
52k
Building Adaptive Systems
keathley
41
2.6k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
180
53k
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