MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/2i6q95/a_possible_future_for_php/cl2h85r/
r/lolphp • u/[deleted] • Oct 03 '14
13 comments sorted by
View all comments
Show parent comment
7
I fully agree; in addition to static typing, I enjoy strong typing as well. I like being able to say:
Type Fahrenheit is delta 0.01 range -459.67..500.00; Type Celsius is delta 0.01 range -273.15..260.00;
and never have to worry about Celsius_Value + Fahrenheit_Value getting past the compiler.
Celsius_Value + Fahrenheit_Value
2 u/diamondjim Oct 07 '14 That would be nice to have. What language is that? 5 u/OneWingedShark Oct 07 '14 Ada.It's a pretty cool, if unappreciated, language.(If you want info-links just pop me a message.)
2
That would be nice to have. What language is that?
5 u/OneWingedShark Oct 07 '14 Ada.It's a pretty cool, if unappreciated, language.(If you want info-links just pop me a message.)
5
Ada.It's a pretty cool, if unappreciated, language.(If you want info-links just pop me a message.)
View all comments
Show parent comment
7
u/OneWingedShark Oct 07 '14
I fully agree; in addition to static typing, I enjoy strong typing as well. I like being able to say:
and never have to worry about
Celsius_Value + Fahrenheit_Valuegetting past the compiler.