Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
gotcha
#6
That's a good point too. (I do want to point out that, although the point about being able to use a boolean as an int is valid, the two expressions aren't quite the same given the difference in behavior if there are side effects and performance if the unused expression within the list is expensive to compute.)
Reply


Messages In This Thread
gotcha - by Skaperen - Feb-21-2017, 09:14 AM
RE: gotcha - by Larz60+ - Feb-21-2017, 10:12 AM
RE: gotcha - by zivoni - Feb-21-2017, 10:46 AM
RE: gotcha - by micseydel - Feb-21-2017, 04:50 PM
RE: gotcha - by Ofnuts - Feb-21-2017, 09:30 PM
RE: gotcha - by micseydel - Feb-21-2017, 09:33 PM
gotcha 2.0 - by Skaperen - Feb-22-2017, 02:28 AM
RE: gotcha - by ichabod801 - Feb-22-2017, 02:34 AM
RE: gotcha - by Skaperen - Feb-22-2017, 05:16 AM
RE: gotcha - by micseydel - Feb-22-2017, 04:59 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020