News for hackers. Stuff that matters.
Re:Bashing the Bash – Replacing Shell Scripts with Python (2... by yjftsjthsd-h on Friday March 25, 2022 @10:34PM (#30808798)
After going over it again, I think I can be more precise: What annoys me is that it's inconsistent to the point of being disingenuous. Like... You want to say error handling is hard to do right? That's fine, it is. You wanna write "Checking the status of programs using $? can be accidentally left off, leading to inconsistent behavior" and then in the same article write in explicit exception handlers, and act like somehow those can't be forgotten!? Get lost.
Re:Bashing the Bash – Replacing Shell Scripts with Python (2... by psd1 on Saturday March 26, 2022 @06:13AM (#30810611)
If you forget an error handler in python, execution terminates. So I don't see your point.