Hacker News new | ask | show | jobs
by Raydovsky 1325 days ago
I don't think people's proglem with PHP are the semicolons and $ variable declarations.

It's mostly legacy stuff like built in function naming.

2 comments

The time when semicolons become optional in PHP, it'll probably be my primary language over Typescript.

I just don't get why people tend to type the semicolons in JS/TS when they don't need to like they don't know it's optional.

I dunno, I used to work in PHP and I came to really loathe all the $ and ->. Like I get it’s just aesthetics but it bothered me how unnecessary they are.