News for hackers. Stuff that matters.
Re:Things I Was Wrong About: Types by TooCreative on Sunday September 27, 2020 @10:58AM (#24607104)
For the example I simply took to a random, recently updated file from Symfony:

https://github.com/symfony/http-client/blob/master/HttpClien...

And shortened it a bit. In the real example, as you can see, there are even more parameters, making it even harder to read.

Re:Things I Was Wrong About: Types by jenscow on Sunday September 27, 2020 @11:43AM (#24607467)
Well, for me it's easier - perhaps because I'm used to reading parameters in type+name pairs.

The data type is right next to the parameter name - and it will be in the pop-up provided by my IDE when I use the function... I don't need to look at the docs or comment (which may not exist).