44
Python errors as values (www.inngest.com)
submitted 10 months ago by mac@programming.dev to c/python@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] sebsch@discuss.tchncs.de 1 points 10 months ago

The words errors, go and usefull do not match in my brain.

If there is a way not to implement error handling, it would clearly be go's implemenation.

[-] eager_eagle@lemmy.world 3 points 10 months ago

no, there's no better error handling than writing if err != nil { return err } after every line of code, this is clearly the superior way

/s

this post was submitted on 14 Nov 2023
44 points (94.0% liked)

Python

6174 readers
33 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

October 2023

November 2023

PastJuly 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS