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
130
Goを始めて感じたPHPの魅力
第154回PHP勉強会@東京で発表したスライドです。
chiroruxx
September 02, 2023
Tweet
Share
More Decks by chiroruxx
See All by chiroruxx
Gopher のための「自由な話し合い」ワークショップ
chiroruxx
0
17
PHPをGoで動かす
chiroruxx
0
69
Goを使ってTDDを体験しよう!
chiroruxx
1
760
今ならできる!PhpStormプラグイン開発
chiroruxx
0
67
Go Connectへの想い
chiroruxx
0
190
eBPF with PHPをさわる
chiroruxx
0
150
sl完全に理解したつもり
chiroruxx
0
140
命名をリントする
chiroruxx
1
930
良い命名かを調べるリンターを作った + α
chiroruxx
0
140
Other Decks in Technology
See All in Technology
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
12k
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
330
2025-12-27 Claude CodeでPRレビュー対応を効率化する@機械学習社会実装勉強会第54回
nakamasato
4
1.4k
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.5k
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
AI with TiDD
shiraji
1
340
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1k
SES向け、生成AI時代におけるエンジニアリングとセキュリティ
longbowxxx
0
300
Oracle Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
3
270
『君の名は』と聞く君の名は。 / Your name, you who asks for mine.
nttcom
1
150
Keynoteから見るAWSの頭の中
nrinetcom
PRO
1
170
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
2.9k
Featured
See All Featured
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
140
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
45
Visualization
eitanlees
150
16k
How to Think Like a Performance Engineer
csswizardry
28
2.4k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
2
78
We Are The Robots
honzajavorek
0
130
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
31
Information Architects: The Missing Link in Design Systems
soysaucechin
0
730
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
780
Fireside Chat
paigeccino
41
3.8k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
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 ええやん – ポインタがない – 名前衝突が少ない – いい感じの型制約
– コミュニティがにぎやか!