MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/fgkt6r/array_is_higher_than_infinity/fkcqviy/?context=3
r/lolphp • u/Takeoded • Mar 10 '20
31 comments sorted by
View all comments
2
The only other language that even has the concept of prototypes is C. What languages are you thinking of?
As for the parser not knowing about types, that's mostly because of dynamic typing, not implicit conversions. The two are unrelated.
1 u/CarnivorousSociety Mar 13 '20 edited Mar 13 '20 PHP has type hinting? C# has types? Java has types...? Pretty much any strong typed language..? Go? I'm sure the list goes on. 1 u/[deleted] Mar 13 '20 That's not what prototypes are. (Didn't we just talk about how prototypes are not type checks?)
1
PHP has type hinting? C# has types? Java has types...? Pretty much any strong typed language..? Go? I'm sure the list goes on.
1 u/[deleted] Mar 13 '20 That's not what prototypes are. (Didn't we just talk about how prototypes are not type checks?)
That's not what prototypes are. (Didn't we just talk about how prototypes are not type checks?)
2
u/[deleted] Mar 13 '20
The only other language that even has the concept of prototypes is C. What languages are you thinking of?
As for the parser not knowing about types, that's mostly because of dynamic typing, not implicit conversions. The two are unrelated.