#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Privacy
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS
TIL: Bash can have functions and variables with the same name
·
Heitor
·
Nov. 3, 2026, 4:30 p.m.
TIL
Bash
Bash
variables
functions
Programming Concepts
Summary
In Bash, it's possible to have functions and variables that share the same name, which can lead to unexpected behavior. This post explores this concept and its implications for developers.
Read full post on heitorpb.github.io →
MORE POSTS LIKE THIS
Distinguishing variables from parameters
John Cook ·
Jul 1, 2026
Math
notation
Cross-module Variables
Users Rust Lang ·
Jun 19, 2026
software development
variables
How Execution Context Works in JavaScript – A Handbook for Devs
freeCodeCamp.org ·
Jan 20, 2026
Execution Context
Javascript
Learning web development: numbers, variables, functions in JavaScript
Axel Rauschmayer ·
Aug 15, 2025
Web Development
Javascript
Why should rank resolution take precedence over type resolution
Fortran Lang Discourse ·
Nov 9, 2026
software development
Fortran
C++ reminder: Function-local static variables are initialized only once, even if it looks like they get initialized multiple times
Raymond Chen ·
Sep 29, 2026
Old New Thing
Code
Discover more posts →
AUTHOR
BLOG POST FEATURED ON
Hacker News
4 points
Add this plugin to your blog
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google
By continuing, you agree to our
Privacy Policy
.