Y
Hacker News
new
|
ask
|
show
|
jobs
by
ipaddr
1670 days ago
PHP is elegant and useful. The spread operator is ...$array is elegant. $var ? "not found"; is really elegant.
2 comments
eloisius
1669 days ago
It’s also about ten years later than everyone else to get those splat and null coalesce operators so it’s not like that elegance is unique or even timely for PHP.
link
ipaddr
1669 days ago
Your post is 10 years too late because we are talking about php today. PHP was elegant in different ways 10 years ago.
link
keyle
1669 days ago
I think you meant ?? or ?= ?
link