News for hackers. Stuff that matters.
Re:Go 2 Draft Designs by quotemstr on Tuesday August 28, 2018 @04:15PM (#17862456)
But it will propagate through a chain of unmarked check calls. If the requirement to mark potentially-throwing call sites is what disqualifies an error handling scheme as belonging to the class of exception systems, then we need a new term that includes both exceptions and this proposal and excludes everything else, because the proposed Go scheme very closely resembles exceptions.
Re:Go 2 Draft Designs by ecnahc515 on Tuesday August 28, 2018 @08:53PM (#17864282)
An unmarked check call would mean explicit error handling like if err != nil {} which isn't unchecked..it's just checked not using `check`. If you don't have this, then your error variable will be unused an you'll get a compile error.