I saw an interesting thread on CFCDev about overloading, which lead to a few posts on types in ColdFusion, which lead to this post, which lead to the new survey off to the right. Basically, I’m curious about what people think about types in ColdFusion. Should ColdFusion be a more strongly typed language? Should typing be optional? What do you think the advantages would be? How far should it go (in other words, should there be a predefined set of types, or should developers be able to define their own types).
This is a tricky topic, and I’m not sure where I stand on it. I clearly see the advantages of ColdFusion being a loosely typed language, and I appreciate the flexibility and simplicity it allows. On the other hand, there are a lot of advantages to more strongly typed languages, mostly relating to compile type optimizations and validation (anyone who has gone from ActionScript 1 to ActionScript 2 knows what I’m talking about).
So what are your thoughts? Post here and take the survey!