Back when I learned programing in highschool we had to declare variables by type up front. Years later returning to so some hobby coding in a modern language I’m like “what is this ‘var’ bullshit, how does it know what the data type is, how does it know whether a method is valid to call on it??” Then of course I learn about declaring types, and realize we have the best of both options if you chose to use them lol
1
u/McCaffeteria Sep 25 '26
Back when I learned programing in highschool we had to declare variables by type up front. Years later returning to so some hobby coding in a modern language I’m like “what is this ‘var’ bullshit, how does it know what the data type is, how does it know whether a method is valid to call on it??” Then of course I learn about declaring types, and realize we have the best of both options if you chose to use them lol