News for hackers. Stuff that matters.
Re:PHP 8 to Add a JIT by stephenr on Sunday March 31, 2019 @10:49PM (#19540027)
> I want to stop using a language still forcing me to type semi colons.

Fuck it, go one step further and stop using languages that expect you to use any formal syntax. Just write down "Computer do this thing! Now, good and bigly like!" and then wait for it to happen.

Of all the fucking complaints about a language "requires semicolons" is the most ridiculous thing I've heard (and no you're not the first place I've heard it, but it's still as ridiculous now as it was the first time I heard it).

> Ruby, Python, JS all don't ask you for semi colons.

Except, JS does require semicolons, it just happens to be able to insert them for you in some situations.

> Array expression is also too verbose in PHP

Array syntax in PHP is the same as in JS: `['foo', 'bar', 'bar'];`. Oh that nasty semicolon is the "verbose" part I bet?

Re:PHP 8 to Add a JIT by h1d on Sunday March 31, 2019 @10:52PM (#19540034)
> Array expression

I meant as in

$hash['member']

vs

hash.member

Re:PHP 8 to Add a JIT by stephenr on Sunday March 31, 2019 @11:00PM (#19540074)
Well that isn't even an Array in Javascript, so already I'm beyond caring what you mean.
Re:PHP 8 to Add a JIT by halfnibble on Monday April 01, 2019 @04:40AM (#19541538)
I understood that "array expression" meant "associative array", and that the closest equivalent in JavaScript is an Object. But I don't consider myself a PHP guru.