Re:PHP 8.4
by crimsonnoodle58 on Thursday November 21, 2024 @04:34PM
(#42208906)
Well in python I assume it would be equivalent of accessing:
And if those PHP rules were in python you could just write:
In actual python though, that would infinitely recurse.
[ Parent
| on HN ]
Or if they could follow Godot syntax: https://docs.godotengine.org/en/stable/tutorials/scripting/g...
var milliseconds: int = 0
var seconds: int:
get:
return milliseconds / 1000
set(value):
milliseconds = value * 1000