Python Forum
Idiomatic Python compared
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Idiomatic Python compared
#4
(Sep-28-2021, 02:00 PM)pitosalas Wrote: But is it a strongly held sense of the pythonic community that long methods or functions are a *code smell* ?
Yes,in general should avoid long function/method.
Do one thing well in a function/method is usually a good advice.
Many of us have pointed this and given refactoring advice numerous of times,
when people here have posted like 30+ up 300 lines in one function.
Reply


Messages In This Thread
Idiomatic Python compared - by pitosalas - Sep-27-2021, 05:17 PM
RE: Idiomatic Python compared - by Larz60+ - Sep-27-2021, 11:29 PM
RE: Idiomatic Python compared - by pitosalas - Sep-28-2021, 02:00 PM
RE: Idiomatic Python compared - by snippsat - Sep-28-2021, 03:47 PM

Forum Jump:

User Panel Messages

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