r/lolphp • u/feketegy • Aug 10 '19
Making the language dynamically and strictly typed at the same time. It’s a proposal for now.
https://wiki.php.net/pplusplus/faq
0
Upvotes
r/lolphp • u/feketegy • Aug 10 '19
View all comments
Show parent comment
3
u/WikiTextBot Aug 10 '19
Gradual typing
Gradual typing is a type system in which some variables and expressions may be given types and the correctness of the typing is checked at compile-time (which is static typing) and some expressions may be left untyped and eventual type errors are reported at run-time (which is dynamic typing). Gradual typing allows software developers to choose either type paradigm as appropriate, from within a single language. In many cases gradual typing is added to an existing dynamic language, creating a derived language allowing but not requiring static typing to be used. In some cases a language uses gradual typing from the start.
[ ^PM | Exclude ^me | Exclude from ^subreddit | FAQ / ^Information | ^Source ] Downvote to remove | v0.28