I'm using GoLang recently. you can define any variable with "var" keyword like in Js , Java, C# and other OOP langs. compiler will determine it's type automatically. you also can use VariableName := Value // ex: NickName := "Game Over!" Money := 100 and ... but if you wanna use functions or structs (instead of classes) or other types you should defince the type. that's why it's ultra fast anyway I wish in the php 7.4 it get better in performance .
Обсуждают сегодня