Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
unreachable code
#1
who thinks Python should warn newbies about unreachable code such as code at the same indent that follows a return or continue?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#2
I say let the IDE catch it instead of the python interpreter. There’s no need to stop a running script for something so trivial. Even a beginner will eventually figure out what's going on and it will be a learning experience. That's my story and I'm sticking to it Cool
Reply
#3
what if the IDE is a plain ole editor?
Tradition is peer pressure from dead people

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


Forum Jump:

User Panel Messages

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