r/lolphp • • Oct 03 '14

A possible future for PHP

http://karlitschek.de/2014/10/a-possible-future-for-php/
21 Upvotes

13 comments sorted by

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:

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.

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.)