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
450
2
Share
弄蛇人的程式語言入門
2014/07/15 Workshop @ SITCON Summer Camp 2014, National Chengchi University, Taipei, Taiwan
Poren Chiang
July 15, 2014
More Decks by Poren Chiang
See All by Poren Chiang
為專案取名永遠是最困難的 / The Eternal Struggle of Naming a Project
rschiang
0
160
2026 g0v 零時政府年會啟動提案 / g0v Summit 2026 Kickstart
rschiang
0
560
Bittersweet: Promoting Digital Democracy with Civic Tech in East Asia
rschiang
0
150
什麼是社群精神?從 SITCON 到開源社群 / What is Community Spirit? Orientation
rschiang
0
200
有系統最安心?科技手段的正當程序 / “Trust the System?” Due Process Considerations of Algorithmic Decision-Making
rschiang
0
190
Digital Government Landscape in Taiwan: Schnitzels, Whistles, Unicorns
rschiang
0
140
g0v hackath52n proposal: Language Portal
rschiang
0
520
有備無患,先掃再說? / Save for a Rainy Day? Observations and controversies of 1922 SMS registration system
rschiang
0
300
AGPL 與大 SaaS 時代授權的逆襲 / The License Strikes Back!: AGPL and Cloud-Targeting Licenses in the era of SaaS
rschiang
0
500
Other Decks in Technology
See All in Technology
Eight Engineering Unit 紹介資料
sansan33
PRO
3
7.3k
ARIA Notifyについて
ryokatsuse
1
120
Digitization部 紹介資料
sansan33
PRO
1
7.3k
Microsoft 365 / Microsoft 365 Copilot : 自分の状態を確認する「ラベル」について
taichinakamura
0
230
データを"持てない"環境でのアノテーション基盤設計
sansantech
PRO
1
120
AI時代のガードレールとしてのAPIガバナンス
nagix
0
280
LLM時代の検索アーキテクチャと技術的意思決定
shibuiwilliam
3
1.2k
最近の技術系の話題で気になったもの色々(IoT系以外も) / IoTLT 花見予定会(たぶんBBQ) @都立潮風公園バーベキュー広場
you
PRO
1
240
[OpsJAWS 40]リリースしたら終わり、じゃなかった。セキュリティ空白期間をAWS Security Agentで埋める
sh_fk2
3
240
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.1k
Pure Intonation on Browser: Building a Sequencer with Ruby
nagachika
0
120
AIが書いたコードを信じられない問題 〜レビュー負荷を下げるために変えたこと〜 / The AI Code Trust Gap: Reducing the Review Burden
bitkey
PRO
7
1.3k
Featured
See All Featured
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
A better future with KSS
kneath
240
18k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
310
What's in a price? How to price your products and services
michaelherold
247
13k
Abbi's Birthday
coloredviolet
2
7.1k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
890
The untapped power of vector embeddings
frankvandijk
2
1.7k
Raft: Consensus for Rubyists
vanstee
141
7.4k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
180
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
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!