News for hackers. Stuff that matters.
Re:PHP 8 to Add a JIT by igi3ql on Sunday March 31, 2019 @12:49PM (#19536571)
I haven't found PHP documentation to be better or worse than the documentation of other languages I've used.

What I dislike about it is the comments that every page includes. Most of them are very poorly written snippets of code from 15 years ago.

If you dislike those comments too, consider adding this to your ad blocker:

    php.net###usernotes
Re:PHP 8 to Add a JIT by cubano on Sunday March 31, 2019 @03:18PM (#19537670)
I've actually found many of the comments rather useful over the years, and although I'm not crazy on how old and random they often are, I find them at least worth a quick look.
Re:PHP 8 to Add a JIT by wwweston on Sunday March 31, 2019 @04:32PM (#19538171)
I've also found that the comments sometimes have very useful notes.

There is the issue of bad advice, but recently I've noticed that there seems to have been a voting system introduced at some point (not sure how long that's been there, I was away from PHP for a good chunk of the last decade), and I think the moderation system is older, so in theory, some of the worst advice should be filtered down/out and some of the best should be filtered up.

Re:PHP 8 to Add a JIT by glennpratt on Sunday March 31, 2019 @12:57PM (#19536630)
Seriously? On the spectrum of things worth ad blocking, this would never even hit my radar.
Re:PHP 8 to Add a JIT by igi3ql on Sunday March 31, 2019 @01:00PM (#19536655)
I use uBlock Origin and its :style() feature to remove and modify parts of websites that I don't like.

I don't block user comments on PHP doc pages out of spite, I do it because they are very long, making it harder to scroll vertically on the actual documentation.

Re:PHP 8 to Add a JIT by glennpratt on Sunday March 31, 2019 @06:14PM (#19538777)
How does comments at the bottom make scrolling harder?
Re:PHP 8 to Add a JIT by JauntyHatAngle on Sunday March 31, 2019 @11:50PM (#19540329)
Not OP, but for me (as a potential example) there are websites that I want to scroll up and down on to view different things, but when you scroll down far enough websites have an annoying habit of auto-opening the comments at the bottom, suddenly tripling (or more) the length of the page, making me lose my spot on the page (potentially) and also making it harder to scroll with precision and/or need to scroll through all this new content I didn't want.

Its a minor quibble on desktop, but on mobile its a really annoying feature because I have to manually scroll with my finger for an age.

Re:PHP 8 to Add a JIT by Moru on Monday April 01, 2019 @05:15PM (#19548314)
Doesn't your browser scroll much faster when you swipe twice in quick succession? I mean while the scrolling is going on, you swipe again and in worst case a third time. I never need to swipe more than three times unless the page is gigantic.
Re:PHP 8 to Add a JIT by JauntyHatAngle on Monday April 01, 2019 @07:59PM (#19549645)
>Doesn't your browser scroll much faster when you swipe twice in quick succession? I mean while the scrolling is going on, you swipe again and in worst case a third time. I never need to swipe more than three times unless the page is gigantic.

Yes, but then if I'm looking for a specific part it has scrolled way past and I need to then scroll back down, sometimes past it, and then scroll back up. Bearing in mind I have to scan the page as it flashes past too.

It's a frustrating experience.

Re:PHP 8 to Add a JIT by kyriakos on Sunday March 31, 2019 @01:04PM (#19536686)
fortunately the date the comment was posted is very prominent on the page