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
Goを始めて感じたPHPの魅力
Search
chiroruxx
September 02, 2023
Technology
1
120
Goを始めて感じたPHPの魅力
第154回PHP勉強会@東京で発表したスライドです。
chiroruxx
September 02, 2023
Tweet
Share
More Decks by chiroruxx
See All by chiroruxx
Go Connectへの想い
chiroruxx
0
160
eBPF with PHPをさわる
chiroruxx
0
120
sl完全に理解したつもり
chiroruxx
0
99
命名をリントする
chiroruxx
1
770
良い命名かを調べるリンターを作った + α
chiroruxx
0
100
GoLandを布教する会
chiroruxx
0
35
PHPはいつから死んでいるかの調査
chiroruxx
3
650
元phperから見たGoの良いところ
chiroruxx
0
92
Go Connectへの想い
chiroruxx
0
480
Other Decks in Technology
See All in Technology
キャディでのApache Iceberg, Trino採用事例 -Apache Iceberg and Trino Usecase in CADDi--
caddi_eng
0
110
技術職じゃない私がVibe Codingで感じた、AGIが身近になる未来
blueb
0
120
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
44
26k
ObsidianをMCP連携させてみる
ttnyt8701
2
110
(新URLに移行しました)FASTと向き合うことで見えた、大規模アジャイルの難しさと楽しさ
wooootack
0
700
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
38k
Eight Engineering Unit 紹介資料
sansan33
PRO
0
3.4k
DB 醬,嗨!哪泥嘎斯基?
line_developers_tw
PRO
0
160
JSX - 歴史を振り返り、⾯⽩がって、エモくなろう
pal4de
2
570
生成AIをテストプロセスに活用し"よう"としている話 #jasstnano
makky_tyuyan
0
160
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
770
TODAY 看世界(?) 是我們在看扣啦!
line_developers_tw
PRO
0
160
Featured
See All Featured
Six Lessons from altMBA
skipperchong
28
3.8k
Into the Great Unknown - MozCon
thekraken
39
1.8k
Fireside Chat
paigeccino
37
3.5k
Writing Fast Ruby
sferik
628
61k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.5k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
43
2.4k
Balancing Empowerment & Direction
lara
1
290
Bash Introduction
62gerente
614
210k
Site-Speed That Sticks
csswizardry
10
630
Building an army of robots
kneath
306
45k
Being A Developer After 40
akosma
90
590k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
480
Transcript
(PΛ࢝Ίͯײͨ͡ 1)1ͷັྗ 第154回 PHP勉強会@東京
ࣗݾհ ▪ ちひろ ▪ Twitter: @chiroruxxxx ▪ 会社: 株式会社モリサワ
࠷ۙ ▪ Go で仕事をしている ▪ PHP は使ってない(悲しい・・・) ▪ PHP から離れてみて改めて魅力を感じました
▪ 改めて気付いた PHP の魅力を4つ伝えたいと思います
ϙΠϯλ͕ͳ͍ʂ ▪ 最高!
ϙΠϯλ͕ͳ͍ʂ ▪ 最高! ▪ Web アプリを作る際にメモリについて考えなくていい – (アドレスについてはたまに考えないといけない)
໊લিಥͷͮ͠Β͞ <?php declare(strict_types=1); namespace a; class a { public $a;
public function a($a) { // ... } }
໊લিಥͷͮ͠Β͞ package a type a struct { a string }
func (a a) a(a string) { // ... }
໊લিಥͷͮ͠Β͞ package a type a struct { a string }
func (a a) a(a string) { // ... }
໊લিಥͷͮ͠Β͞ ▪ 変数の先頭に $ が付く – 同名のプロパティとメソッドを区別できる ▪ レシーバの $this
固定 – 他の言語では任意の名前で設定できる場合も→名前衝突の原因に
͍͍ײ͡ͷܕ੍ ▪ 今の PHP は動的型付けしつつ静的解析するのが主流 – 型で困ることは(ほぼ)ないのでは ▪ 静的解析はいい感じに誤魔化せる –
@var type $var – 使いすぎには要注意だけど・・・
ίϛϡχςΟ͕ʹ͔͗ʂ ▪ PHP 勉強会みたいなコミュニティは意外と少ない? – 毎月 LT だけするようなコミュニティはどこでもある – 交流を定期的にやっているコミュニティは少ない
▪ 毎年、各地でカンファレンス開催・東京でも2つのカンファレンスが! – 福岡、盛り上がってましたね – 沖縄と北海道の話題も出ていますね – 東京だけでも PHP カンファレンス、PHPerKaigi がある
·ͱΊ ▪ PHP ええやん – ポインタがない – 名前衝突が少ない – いい感じの型制約
– コミュニティがにぎやか!
Otomatik - 172.67.23.78
CloudFlare DNS
Türk Telekom DNS
Google DNS
Open DNS
OSZAR »