> Would be nice of Macromedia would ad interfaces. Not for this reason. CF is not a compiled language, and the typechecking that interfaces do happen at compile time. Bit of a catch-22, because the checks you want HAVE to happen at a place that doesn't exist in CF's world.
The real reason for wanting interfaces is for the runtime typechecking that CF does. I.e. declare an interface, specify the interface as an argument type or return type, and then pass CFCs that implement the interface. This is a far more important reason for wanting interfaces in CF, and fortunately, it's one that doesn't require a paradigm shift in CF language processing to implement, so it might actually happen at some point. cheers, barneyb On 10/13/05, Chris Stoner <[EMAIL PROTECTED]> wrote: > Seems to me more like this would be a good use of an interface (which we > don't have in Cold Fusion). But you can create a PageInterface CFC that > describes the page interface and procedurally implement it, that is make > sure you have a method for each method in the interface without a compiler > enforcing it for you. > > Would be nice of Macromedia would ad interfaces. > > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. b����.n�+�����qׯN�����r��zǧu�ޙ����qׯq�3�w��"�a{ +v˧���r��y��u�ڲ�^���y�h~�^zf��!B �ⲻ�o � �'{0q�3�w���v˩���y��UǢ�b� 0�����-�x�`�7���.��+��[�װ�Z�֦jG�����热�(�m���� ���ej{Zr������l��ny�ڂ���w^���v�r�z�����7��+-�Ưj)ZnW��0���j�!����o�}�^���Ήޢ�
