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
460
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
弄蛇人的程式語言入門
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
200
2026 g0v 零時政府年會啟動提案 / g0v Summit 2026 Kickstart
rschiang
0
680
Bittersweet: Promoting Digital Democracy with Civic Tech in East Asia
rschiang
0
190
什麼是社群精神?從 SITCON 到開源社群 / What is Community Spirit? Orientation
rschiang
0
240
有系統最安心?科技手段的正當程序 / “Trust the System?” Due Process Considerations of Algorithmic Decision-Making
rschiang
0
240
Digital Government Landscape in Taiwan: Schnitzels, Whistles, Unicorns
rschiang
0
180
g0v hackath52n proposal: Language Portal
rschiang
0
590
有備無患,先掃再說? / Save for a Rainy Day? Observations and controversies of 1922 SMS registration system
rschiang
0
330
AGPL 與大 SaaS 時代授權的逆襲 / The License Strikes Back!: AGPL and Cloud-Targeting Licenses in the era of SaaS
rschiang
0
550
Other Decks in Technology
See All in Technology
LanceDB入門
mocobeta
9
670
[potatotips #96] Give Your AI Agent the Flutter Playbook
korodroid
0
160
2027年のMetricKit
kantacky
0
170
AI時代のデータ基盤を考える問い
pacocat
0
400
属人化を叩き割れ!「制作加速」と「安定化」の矛盾を打破する:8年目プロダクトが辿り着いた「ミスが起こり得ない」アセット制作フローの全貌
gree_tech
PRO
0
400
型落ちシンクライアント端末のPoEモジュールを自作したかった話
logica0419
0
390
Rust×eBPFでEDRっぽいものをつくる
sunlife3
2
910
作って理解するCoding Agent 〜フレームワークに頼らないピュア Python での実装〜
takapy
3
1.1k
AI画像認識を活用したゲーム内決済処理検証の自動化
gree_tech
PRO
0
400
回復法は人それぞれ。まずは自分の型を知る #tachikawaany
nishiuma
1
100
MIXIで活躍できるエンジニアを 若手社員目線で考えてみる
mixi_engineers
PRO
0
140
【GCC2026】TrueHDRIを用いたルックデブ環境とライティングテクニック
bandainamcostudios
PRO
0
360
Featured
See All Featured
Fireside Chat
paigeccino
42
4k
How to Talk to Developers About Accessibility
jct
2
520
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
180
Crafting Experiences
bethany
1
260
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
810
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Mobile First: as difficult as doing things right
swwweet
225
10k
Side Projects
sachag
455
43k
Marketing to machines
jonoalderson
1
5.7k
Designing Experiences People Love
moore
143
24k
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!