---
title: "Sagar Jha (@SagarJ) | Hashnode"
description: "Sagar Jha (@SagarJ) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@SagarJ"
---

@SagarJ

# Sagar Jha

@SagarJ · Joined March 2021

## Comments

[Saif, the blog was really a pleasure to read and very informative. Would want to share feedback on two points. For point 5: The function printAndReturnFoofoo where we have a named return type, we would get error if we try to initialize variable with same name inside the function, it is already initialized for the return, so we can update foofoo := "foofoo" to foofoo = "foofoo" For point 9: The example is missing the simplified version.](https://hashnode.com/posts/common-anti-patterns-in-go/605ad82747b0d2243d4ab7ba/comment/6060d3945aa4944ee40fa543)

Comment · Article · Mar 28, 2021 · [Common anti-patterns in Go](https://hashnode.com/posts/common-anti-patterns-in-go/605ad82747b0d2243d4ab7ba)
