---
title: "Discussion on \"Learning Go, Week 4: Functions, Methods, Defer, and File Handling\" | Hashnode"
description: "Discussion on \"Learning Go, Week 4: Functions, Methods, Defer, and File Handling\". Week 4 of learning Go: variadic functions, value vs pointer receivers, how defer's LIFO stack works, and basic file create/write/read."
url: "https://hashnode.com/posts/learning-go-week-4-functions-methods-defer-file-handling/6a906977f9d6775bf4e8deed"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Learning Go, Week 4: Functions, Methods, Defer, and File Handling](https://weeklyupdate.hashnode.dev/learning-go-week-4-functions-methods-defer-file-handling?utm_source=hashnode&utm_medium=feed)

Week 4 of learning Go: variadic functions, value vs pointer receivers, how defer's LIFO stack works, and basic file create/write/read.

Aug 27 · 7 min read · weeklyupdate.hashnode.dev  
Read the article

-   [#golang](https://hashnode.com/tag/golang)
-   [#go](https://hashnode.com/tag/go)
-   [#learninpublic](https://hashnode.com/tag/learninpublic)
-   [#build-in-public](https://hashnode.com/tag/build-in-public)
-   [#file-handling](https://hashnode.com/tag/file-handling)
-   [#functions](https://hashnode.com/tag/functions)

## Written by

[Abhijeet Shinde](https://hashnode.com/@abhijeet2005)

@abhijeet2005 · Mumbai

  
[View profile](https://hashnode.com/@abhijeet2005)

Curious Polymath | Student Software Engineer | Learning to Build Reliable & Scalable Systems

I’m a curious learner and aspiring software developer who enjoys building real-world systems, exploring new technologies, and learning in public. I write about coding, personal growth, and turning ideas into practical systems—while simplifying complex concepts for others.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
