@ramsey @woozle @cptwtf @Girgias @IceWolf
I can tell this is going to be very boring already...
If you use a statically typed language you will know about it. It will get in your way, the types will be pain, but when you get them right, then you can have a high degree of confidence that the code is already free of entire classes of error.
This kind of '==' BS cannot happen. No type juggling. Not everything is a pointer under the hood. Objects have a size. ...
TBC
@ramsey @woozle @cptwtf @Girgias @IceWolf
There is no runtime or interpreter. Non-existent variables in if branches don't compile. Your IDE/LSP can give you meaningful autocompletion and full syntax/type checking..... etc etc etc
I used php for 20yrs. It is "not statically typed".. whether you like that term or not... it has a completely different feel to any of those languages I listed above on all of those dimensions.
I have decided that for most things, I prefer the above languages.