Defending the ternary operator
Paul Rubin
http
Mon Feb 10 01:56:37 EST 2003
More information about the Python-list mailing list
Mon Feb 10 01:56:37 EST 2003
- Previous message (by thread): Defending the ternary operator
- Next message (by thread): Defending the ternary operator
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Andrew Dalke" <adalke at mindspring.com> writes: > > Yes, it's clearer as originally written, no problem with getting > > something swapped. > > I don't understand this. You say the original expression is > clearer than my rewrite? Or should that "as" be a "than"? I mean the original version was clearer than the rewrite. > > And so on for other examples... > > And so on? So the original C++ uses were better than the > alternative versions I suggested were Python available? If I remember correctly, I liked the original versions better than the rewrites in most but not all of the examples. I didn't feel like going on analyzing every last one of them.
- Previous message (by thread): Defending the ternary operator
- Next message (by thread): Defending the ternary operator
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list