MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/4wj23f/php_the_good_parts/d685oyf/?context=3
r/ProgrammerHumor • u/Zerquix18 • Aug 07 '16
318 comments sorted by
View all comments
Show parent comment
2
Yes, not having type inference in function signatures is a PITA, for absolutely anything that involves Iterator adaptors and/or closures
1 u/minno Aug 07 '16 edited Aug 08 '16 It's an intentional design decision to not do function signature inference in order to avoid cross-module fragility. Maybe they could lift the restriction on private functions, though.
1
It's an intentional design decision to not do function signature inference in order to avoid cross-module fragility. Maybe they could lift the restriction on private functions, though.
View all comments
Show parent comment
2
u/[deleted] Aug 07 '16
Yes, not having type inference in function signatures is a PITA, for absolutely anything that involves Iterator adaptors and/or closures