News for hackers. Stuff that matters.
Re:A Visual Guide to React Mental Models: UseState, UseEffec... by jchw on Friday May 29, 2020 @09:30PM (#23357632)
To be fair, PHP5 really was quite a nightmare for honestly a lot of reasons that JS was never. I think most people remember PHP5 and compare it to fairly modern JS, but I must say, modern PHP is a lot better than older PHP (i still prefer just about anything else.)
Re:A Visual Guide to React Mental Models: UseState, UseEffec... by eitland on Saturday May 30, 2020 @07:28AM (#23360375)
Totally agree.

But comparing modern Javascript to ancient PHP would be even more unreasonable.

Re:A Visual Guide to React Mental Models: UseState, UseEffec... by jchw on Saturday May 30, 2020 @02:06PM (#23363210)
Yes, to be clear, I agree. I think most people just don’t realize PHP actually did improve. I’ll admit until digging into a modern PHP library I didn’t even believe it could be meaningfully better.