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
弄蛇人的程式語言入門
Search
Poren Chiang
July 15, 2014
Technology
2
430
弄蛇人的程式語言入門
2014/07/15 Workshop @ SITCON Summer Camp 2014, National Chengchi University, Taipei, Taiwan
Poren Chiang
July 15, 2014
Tweet
Share
More Decks by Poren Chiang
See All by Poren Chiang
為專案取名永遠是最困難的 / The Eternal Struggle of Naming a Project
rschiang
0
110
2026 g0v 零時政府年會啟動提案 / g0v Summit 2026 Kickstart
rschiang
0
150
Bittersweet: Promoting Digital Democracy with Civic Tech in East Asia
rschiang
0
110
什麼是社群精神?從 SITCON 到開源社群 / What is Community Spirit? Orientation
rschiang
0
140
有系統最安心?科技手段的正當程序 / “Trust the System?” Due Process Considerations of Algorithmic Decision-Making
rschiang
0
150
Digital Government Landscape in Taiwan: Schnitzels, Whistles, Unicorns
rschiang
0
98
g0v hackath52n proposal: Language Portal
rschiang
0
440
有備無患,先掃再說? / Save for a Rainy Day? Observations and controversies of 1922 SMS registration system
rschiang
0
260
AGPL 與大 SaaS 時代授權的逆襲 / The License Strikes Back!: AGPL and Cloud-Targeting Licenses in the era of SaaS
rschiang
0
430
Other Decks in Technology
See All in Technology
Amazon Bedrock AgentCore でプロモーション用動画生成エージェントを開発する
nasuvitz
6
370
Observability for LLM Application lifecycle
ivry_presentationmaterials
1
230
LLMエージェント時代に適応した開発フロー
hiragram
1
360
Gaze-LLE: Gaze Target Estimation via Large-Scale Learned Encoders
kzykmyzw
0
300
Infrastructure as Prompt実装記 〜Bedrock AgentCoreで作る自然言語インフラエージェント〜
yusukeshimizu
2
180
新卒(ほぼ)専業Kagglerという選択肢
nocchi1
1
1.8k
広島銀行におけるAWS活用の取り組みについて
masakimori
0
110
Goでマークダウンの独自記法を実装する
lag129
0
200
いま、あらためて考えてみるアカウント管理 with IaC / Account management with IaC
kohbis
2
650
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
8.5k
AIエージェントの開発に必須な「コンテキスト・エンジニアリング」とは何か──プロンプト・エンジニアリングとの違いを手がかりに考える
masayamoriofficial
0
290
ECS モニタリング手法大整理
yendoooo
1
120
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Embracing the Ebb and Flow
colly
87
4.8k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
Building Applications with DynamoDB
mza
96
6.6k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
How to train your dragon (web standard)
notwaldorf
96
6.2k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.4k
The Language of Interfaces
destraynor
160
25k
Transcript
ශ⣹̍ḑ⁰⯅⭚ӧ㉊ RSChiang @ SITCON Summer Camp 2014 H O W
T O T R A I N Y O U R P Y T H O N
ߐ㡦ዅ RSChiang • 112 ୪㋁ • SITCON / COSCUP ⵈⶦ
• Python ჿࢼ • You can reach me at http://poren.tw
⁰ḑ༦⏯
民法 158 條 要約定有承諾期限者,⾮非於其期限 內為承諾,失其拘束⼒力。︒。 ⬉≜.send() try: ါⰊ = ⬉≜.wait()
except TimeoutException: ⬉≜ = null ቒ୕ ⁰
Python
Beautiful is better than ugly. Explicit is better than implicit.
Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts.
#include <iostream> using namespace std; ! int main(int argc, char*
argv) { cout << “Hi SITCON!”; return 0; } print(“Hi SITCON!”) C++ Python
None
string a = “ݙ”; string b = “”; for (int
i = 1; i <= 5; i++) { b += a; } cout << b; print(“ݙ” * 5) C++ Python
for (int i = 1; i <= 5; i++) {
cout << “#” << i << “\n”; } for i in range(5): print(“#” + str(i)) C++ Python
captains = [‘Takeshi’, ‘ୖ⭘’, ‘EAT’, ‘┧㕕’] for captain in captains:
print(‘Captain ’ + captain) print(len(captains))
speakers = [‘Allen’, ‘Bob’, ‘RS’, ‘⒀㐷’] for i, speaker in
enumerate(speakers): print(‘#{0} - {1}’.format(i, speaker)) print(len(captains))
Live Examples
reduce( lambda a, b: a or b, [ x %
i == 0 for i in range( 2, int(x ** 0.5 + 1) ) ] )
Thanks!