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
64
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
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
170
Oracle Cloud Observability and Management Platform - OCI 運用監視サービス概要 -
oracle4engineer
PRO
2
14k
配列に見る bash と zsh の違い
kazzpapa3
1
110
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.5k
Webhook best practices for rock solid and resilient deployments
glaforge
1
270
MCPでつなぐElasticsearchとLLM - 深夜の障害対応を楽にしたい / Bridging Elasticsearch and LLMs with MCP
sashimimochi
0
150
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
プロポーザルに込める段取り八分
shoheimitani
1
180
データの整合性を保ちたいだけなんだ
shoheimitani
8
3k
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
300
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
今日から始めるAmazon Bedrock AgentCore
har1101
4
400
Featured
See All Featured
Designing for Performance
lara
610
70k
Fireside Chat
paigeccino
41
3.8k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
930
Paper Plane
katiecoart
PRO
0
46k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Side Projects
sachag
455
43k
The SEO Collaboration Effect
kristinabergwall1
0
350
Measuring & Analyzing Core Web Vitals
bluesmoon
9
750
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
55
Git: the NoSQL Database
bkeepers
PRO
432
66k
4 Signs Your Business is Dying
shpigford
187
22k
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