Python Forum
does try really need to be a keyword?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
does try really need to be a keyword?
#4
In Go, there was a proposal to implement try() for error handling. The community, self included, hated it, but we also don't care for more traditional error handling.

So, you could try to implement try as a try() function. Ironically, you'd likely end up using the try keyword in that function for the sake of simplicity.
Reply


Messages In This Thread
does try really need to be a keyword? - by Skaperen - Jan-23-2020, 11:57 PM
RE: does try really need to be a keyword? - by stullis - Jan-27-2020, 01:26 PM

Forum Jump:

User Panel Messages

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