Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mastrsushi
· 6y ago · 0 comments
We already know by its value it's a float. It's literally easier to type that in C as float x = 5.0;
Comments
[–]
tianreyma
6y ago
GDScript can infer the type by writing it as var x := 5.0. I'm guessing it's just the authors preferred style to include the type.