Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
which is more Pythonic?
#6
does almost count? (in this case)

i generally find it easier to read when things are split up like, including arithmetic where an intermediate value is a commonly named type of value. the variable name then documents what the code steps are coming up with.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
which is more Pythonic? - by Skaperen - Jul-15-2019, 04:07 AM
RE: which is more Pythonic? - by DeaD_EyE - Jul-15-2019, 08:40 AM
RE: which is more Pythonic? - by metulburr - Jul-15-2019, 11:44 AM
RE: which is more Pythonic? - by Skaperen - Jul-15-2019, 08:24 PM
RE: which is more Pythonic? - by metulburr - Jul-15-2019, 08:52 PM
RE: which is more Pythonic? - by Skaperen - Jul-16-2019, 01:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  which is "better" (or more Pythonic)? Skaperen 2 2,054 Feb-01-2020, 03:10 PM
Last Post: Skaperen
  which is "better" (or more Pythonic)? Skaperen 7 3,229 Feb-01-2020, 03:51 AM
Last Post: Skaperen
  which is "better" (or more Pythonic)? Skaperen 8 3,328 Nov-16-2019, 06:46 PM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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