TLDR Index
  • Daily
  • Browse
  • Archive
  • Search
← Back to page 435 of 118

TLDR Web Dev · QUICK LINKS

DON'T DEFER CLOSE() ON WRITABLE FILES

2024-09-11joeshaw.org7 min read

Summary from the TLDR Web Dev newsletter

Deferring the `Close()` method for writable files in Go can be harmful because it ignores the potential error return value.

Read the original article ↗View the archived TLDR Web Dev issue
← Previous articleNewspaper page 4Next article →

TLDR IndexAn unofficial editorial archive

6737 issues indexed · schema v1.0.0

Your browser does not support audio playback.