---
title: "Discussion on \"Day 18 - File Handling in Go (Part 3): bufio.Scanner vs bufio.Reader\" | Hashnode"
description: "Discussion on \"Day 18 - File Handling in Go (Part 3): bufio.Scanner vs bufio.Reader\". bufio.Scanner and bufio.Reader are not competitors. They solve different problems. Use Scanner when you're reading structured input (like lines or words). Use Reader when you need more control over ho"
url: "https://hashnode.com/posts/day-18-file-handling-in-go-part-3-bufio-scanner-vs-bufio-reader/6a5b1d00bbdc49adf8a29a3e"
---

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

Discussion

# [Day 18 - File Handling in Go (Part 3): bufio.Scanner vs bufio.Reader](https://gosprint90.hashnode.dev/day-18-file-handling-in-go-part-3-bufio-scanner-vs-bufio-reader?utm_source=hashnode&utm_medium=feed)

bufio.Scanner and bufio.Reader are not competitors. They solve different problems. Use Scanner when you're reading structured input (like lines or words). Use Reader when you need more control over ho

Jul 18 · 6 min read · gosprint90.hashnode.dev  
Read the article

-   [#go](https://hashnode.com/tag/go)
-   [#golang](https://hashnode.com/tag/golang)
-   [#golang-web-development](https://hashnode.com/tag/golang-web-development)
-   [#files](https://hashnode.com/tag/files)

## Written by

[PUSARLA SIVAKALKI](https://hashnode.com/@sivakalki)

@sivakalki

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

Exploring modern tech stacks & sharing what I learn

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
