---
title: "#functions articles | Hashnode"
description: "Explore 1,070 articles tagged #functions on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/functions"
---

Tag

# #functions

1,070 posts · 16 followers

[Min SiThu](https://hashnode.com/@itsmeminsithu) · [3d ago](https://hashnode.com/posts/what-is-a-closure-how-a-function-remembers-where-it-came-from/6b04e858ad344369c9af93c4)

### [What Is a Closure? How a Function Remembers Where It Came From](https://itsmeminsithu.hashnode.dev/what-is-a-closure-how-a-function-remembers-where-it-came-from?utm_source=hashnode&utm_medium=feed)

To put it simply, a closure is a function that remembers the variables around it at the moment it was created, even after the code that created it has finished running. I learned this in a file I call

6 min read · [itsmeminsithu.hashnode.dev](https://itsmeminsithu.hashnode.dev/what-is-a-closure-how-a-function-remembers-where-it-came-from?utm_source=hashnode&utm_medium=feed)

[DocStar](https://hashnode.com/@docstar-io) · [Nov 16](https://hashnode.com/posts/mcp-vs-function-calling-vs-plugins-what-s-the-difference-and-where-docstar-fits/6afaff7c8a0fbe64b4c39c53)

### [MCP vs Function Calling vs Plugins: What's the Difference (and Where DocStar Fits)](https://docstar-blog.hashnode.dev/mcp-vs-function-calling-vs-plugins-what-s-the-difference-and-where-docstar-fits?utm_source=hashnode&utm_medium=feed)

MCP vs function calling vs plugins: how each lets AI use your tools, and how DocStar turns your API docs into one MCP server for every assistants.

9 min read · [docstar-blog.hashnode.dev](https://docstar-blog.hashnode.dev/mcp-vs-function-calling-vs-plugins-what-s-the-difference-and-where-docstar-fits?utm_source=hashnode&utm_medium=feed)

[ZyVOP](https://hashnode.com/@zyvop) · [Oct 21](https://hashnode.com/posts/iterators-generators-comprehensions-how-python-handles-streams-of-data-vzofg/6ad85f8c692d2bc7e959aec8)

### [Iterators, Generators & Comprehensions: How Python Handles Streams of Data](https://blog.zyvop.com/iterators-generators-comprehensions-how-python-handles-streams-of-data-vzofg?utm_source=hashnode&utm_medium=feed)

Go beyond the basics: default argument traps, args and kwargs, scope, lambdas, and closures, and why passing functions around sits at the heart of AI code.

11 min read · [blog.zyvop.com](https://blog.zyvop.com/iterators-generators-comprehensions-how-python-handles-streams-of-data-vzofg?utm_source=hashnode&utm_medium=feed)

[ZyVOP](https://hashnode.com/@zyvop) · [Oct 21](https://hashnode.com/posts/functions-in-depth-scope-closures-and-passing-functions-around-lbukq/6ad85958a389f6a016ab61a7)

### [Functions in Depth: Scope, Closures, and Passing Functions Around](https://blog.zyvop.com/functions-in-depth-scope-closures-and-passing-functions-around-lbukq?utm_source=hashnode&utm_medium=feed)

Go beyond the basics: default argument traps, args and kwargs, scope, lambdas, and closures, and why passing functions around sits at the heart of AI code.

10 min read · [blog.zyvop.com](https://blog.zyvop.com/functions-in-depth-scope-closures-and-passing-functions-around-lbukq?utm_source=hashnode&utm_medium=feed)

[wloadctl](https://hashnode.com/@wloadctl) · [Sep 7](https://hashnode.com/posts/advanced-training-for-wloadctl-understanding-functions-and-logical-expressions/6a9e7c684798007b5a40c2a6)

### [Advanced Training For WLOADCTL: Understanding Functions and Logical Expressions](https://wloadctl.hashnode.dev/advanced-training-for-wloadctl-understanding-functions-and-logical-expressions?utm_source=hashnode&utm_medium=feed)

Overview The introduction of functions and logical expressions makes the design of workflows and schedulers more flexible. This article covers the following topics: Introduction to functions and logi

11 min read · [wloadctl.hashnode.dev](https://wloadctl.hashnode.dev/advanced-training-for-wloadctl-understanding-functions-and-logical-expressions?utm_source=hashnode&utm_medium=feed)

[Abhijeet Shinde](https://hashnode.com/@abhijeet2005) · [Aug 27](https://hashnode.com/posts/learning-go-week-4-functions-methods-defer-file-handling/6a906977f9d6775bf4e8deed)

### [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.

7 min read · [weeklyupdate.hashnode.dev](https://weeklyupdate.hashnode.dev/learning-go-week-4-functions-methods-defer-file-handling?utm_source=hashnode&utm_medium=feed)

[Osi](https://hashnode.com/@Kingme) · [Jul 25](https://hashnode.com/posts/i-see-functions-as-short-stories/6a653f235d9a03a2016b7a0e)

### [I See Functions As Short Stories](https://osire.hashnode.dev/i-see-functions-as-short-stories?utm_source=hashnode&utm_medium=feed)

A long function isn't complicated logic, it's one important line, surrounded by everything that keeps it safe. How I learned to read code differently.

5 min read · [osire.hashnode.dev](https://osire.hashnode.dev/i-see-functions-as-short-stories?utm_source=hashnode&utm_medium=feed)

[codeByAtharv](https://hashnode.com/@atharvintech) · [Jun 15](https://hashnode.com/posts/callbacks-in-javascript/6a2f9fb8c594cb12734a3b13)

### [Callbacks in JavaScript](https://atharvintech.hashnode.dev/callbacks-in-javascript?utm_source=hashnode&utm_medium=feed)

You are at the right blog to understand Callbacks.

6 min read · [atharvintech.hashnode.dev](https://atharvintech.hashnode.dev/callbacks-in-javascript?utm_source=hashnode&utm_medium=feed)

[Sumit Patel](https://hashnode.com/@sumit457) · [May 23](https://hashnode.com/posts/arrow-functions-in-javascript-a-simpler-way-to-write-functions/6a115da9e6fc7fbb6d0bcf2e)

### [Arrow Functions in JavaScript: A Simpler Way to Write Functions](https://blogsumitkumar18.hashnode.dev/arrow-functions-in-javascript-a-simpler-way-to-write-functions?utm_source=hashnode&utm_medium=feed)

When you start writing JavaScript programs, one thing becomes very obvious pretty quickly. You end up writing a lot of functions. Some functions are small helper functions, some perform simple calcula

7 min read · [blogsumitkumar18.hashnode.dev](https://blogsumitkumar18.hashnode.dev/arrow-functions-in-javascript-a-simpler-way-to-write-functions?utm_source=hashnode&utm_medium=feed)

[Sumit Patel](https://hashnode.com/@sumit457) · [May 23](https://hashnode.com/posts/function-declaration-vs-function-expression-what-s-the-difference/6a115b59e6fc7fbb6d0a8ed1)

### [Function Declaration vs Function Expression: What’s the Difference?](https://blogsumitkumar17.hashnode.dev/function-declaration-vs-function-expression-what-s-the-difference?utm_source=hashnode&utm_medium=feed)

When we start writing programs something interesting happens very quickly. We begin repeating the same code again and again. Maybe you're adding numbers in multiple places.Maybe you're validating a us

6 min read · [blogsumitkumar17.hashnode.dev](https://blogsumitkumar17.hashnode.dev/function-declaration-vs-function-expression-what-s-the-difference?utm_source=hashnode&utm_medium=feed)
