LLの虎 semifinal: 殺伐Python
-
Upload
moriyoshi-koizumi -
Category
Technology
-
view
1.388 -
download
0
Transcript of LLの虎 semifinal: 殺伐Python
![Page 1: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/1.jpg)
…
![Page 2: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/2.jpg)
はい
![Page 3: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/3.jpg)
こんにちは!
![Page 4: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/4.jpg)
本日2回目
![Page 5: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/5.jpg)
お目汚し失礼
![Page 6: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/6.jpg)
いたします
![Page 7: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/7.jpg)
さて…
![Page 8: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/8.jpg)
テーマは
![Page 9: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/9.jpg)
『タイガー&ドラゴン』
![Page 10: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/10.jpg)
![Page 11: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/11.jpg)
世の中
![Page 12: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/12.jpg)
さまざまなLL言語
![Page 13: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/13.jpg)
ございますね!
![Page 14: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/14.jpg)
Python
![Page 15: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/15.jpg)
Perl
![Page 16: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/16.jpg)
Ruby
![Page 17: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/17.jpg)
中でも
![Page 18: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/18.jpg)
Python
RubyVS.
![Page 19: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/19.jpg)
Rubyclass Hello def initialize(name) @name = name end def greet print "Hello, " + "#{@name}\n" endend
Hello.new("mmm").greet
Pythonclass Hello(object): def __init__(self, name): self.name = name
def greet(self): print "Hello, " + \ self.name
Hello("mmm").greet()
似ているが故の運命さ だ め
![Page 20: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/20.jpg)
Rubyistに聞きました
![Page 21: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/21.jpg)
Pythonの嫌なところ
![Page 22: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/22.jpg)
•インデント (17歳女性)•インデントでブロック構造を表すところ (33歳男性)
•printが関数でなく予約語 (26歳女性)
•メソッドにselfと書かないといけないところ (28歳男性)
![Page 23: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/23.jpg)
Pythonistaに聞きました
![Page 24: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/24.jpg)
Rubyの嫌なところ
![Page 25: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/25.jpg)
•endとかいちいち(35歳男性)
•endキライ!(23歳女性)•end!(24歳男性)•拡張メソッドとか訳分からない (18歳男性)
![Page 26: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/26.jpg)
まあ、つまり
![Page 27: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/27.jpg)
•Rubyistはインデントが嫌い•PythonistaはEndが嫌い
![Page 28: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/28.jpg)
両者、歩み寄れるところはないのか…。
![Page 29: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/29.jpg)
ちょっと待てと.
![Page 30: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/30.jpg)
RubyのようなPython
![Page 31: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/31.jpg)
例えば…
class Hello(object) def __init__(self, name) self.name = name end
def greet(self) print "Hello, " + \ self.name endend
Hello("mmm").greet()
![Page 32: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/32.jpg)
PythonのようなRuby
![Page 33: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/33.jpg)
例えば…
class Hello: def initialize(name): @name = name
def greet: print "Hello, #{@name}\n"
Hello.new("mmm").greet
![Page 34: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/34.jpg)
ないの…?!
![Page 35: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/35.jpg)
ないのならば…
![Page 36: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/36.jpg)
やりましょう!
![Page 37: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/37.jpg)
Introducing
![Page 38: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/38.jpg)
Puby
![Page 39: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/39.jpg)
&
![Page 40: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/40.jpg)
Rhython
![Page 41: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/41.jpg)
誕生。
![Page 42: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/42.jpg)
→ → →
![Page 43: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/43.jpg)
![Page 44: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/44.jpg)
まつもとさん
![Page 45: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/45.jpg)
Guidoさん
![Page 46: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/46.jpg)
ごめんなさい><
![Page 47: LLの虎 semifinal: 殺伐Python](https://reader031.fdocuments.us/reader031/viewer/2022012913/55593303d8b42a4f3d8b49f2/html5/thumbnails/47.jpg)
To Be Continued...