News for hackers. Stuff that matters.
Re:Named arguments are coming in PHP 8 by sildur on Monday July 27, 2020 @02:59AM (#23962805)
> leaves it up to the called function to sanity-check the input types instead of letting the compiler do it, and basically nobody does that anyway.

You don’t check the input types?

Re:Named arguments are coming in PHP 8 by stareatgoats on Monday July 27, 2020 @04:46AM (#23963303)
You're reading the sentence incorrectly: "and basically nobody does that anyway", means the preceding type checking argument you refer to is moot. So I insist, I am a nobody (according to this definition).

Btw I don't always sanity check the parameters, mostly at the system edges only.

Re:Named arguments are coming in PHP 8 by z92 on Monday July 27, 2020 @05:23AM (#23963483)
Not in get-it-done, hackish scripts.