Can a loosely typed language be considered true object oriented?
Can a loosely typed programming language like PHP be really considered object oriented?
Is changing the type of a variable partway through a procedure in a dynamically typed language bad style?
In Python (and occasionally PHP) where variables do not have fixed types, I’ll frequently perform ‘type transformations’ on a variable part-way through my code’s logic. I’m not (necessarily) talking about simple casts, but about functions that change the type of a variable while leaving it basically representing the same value or data.
Is it possible to introduce Pointers to a weakly typed programming language?
Most weakly typed languages do not have a concept of a pointer. Instead, most of them use references. However, is it possible to introduce pointers to such a language.