Hi,

operator overloading might bring some more readable code. But sometimes
they have heavy side effects. Here is just a tiny example in c++:

#include<iostream>

int main( int argc, char* argv[] )
{
    int i=0;
    std::cout << ++i << ++i <<std::endl;
    std::cout << i++ << i++ <<std::endl;
    return 0;
}

This is readable but leads to total differen behavior. I don't think we
should add operator overloading in vala.

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to