2 ms·
> python does have pointers under the hood. objects are passed via pointers. Of courses there’s pointers under the hood. It’s a runtime built in C++. But that
by hnlmorg 2y ago
> python does have pointers under the hood. objects are passed via pointers.
Of courses there’s pointers under the hood. It’s a runtime built in C++.
But that doesn’t mean that Python -the language not the runtime- has pointers itself.
> the optional static type checking in python gives you a stronger typing than what golang does
“Stronger” isn’t the term you’d want to use there. Python is not more strongly typed than Go just by virtue of it being more a dynamic language.
I do agree that the Go type system is pretty inflexible though.