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

Tag

# #constants

2 posts · 0 followers

[Muhammad Yafi Alhakim](https://hashnode.com/@yafialhakim) · [Apr 7](https://hashnode.com/posts/variables-the-mutability-contract/69d4dfdb4650dac7a91de3ab)

### [Variables: The "Mutability Contract"](https://yafi.hashnode.dev/variables-the-mutability-contract?utm_source=hashnode&utm_medium=feed)

In JavaScript, you use let and const for everything. In Rust, variables are Immutable by Default. This is a strict Mutability Contract that ensures your data doesn't change unless you explicitly "sign" for it. 🏗️ The 3-Step Narrative 1. Immutable b...

2 min read · [yafi.hashnode.dev](https://yafi.hashnode.dev/variables-the-mutability-contract?utm_source=hashnode&utm_medium=feed)

[Ramu Narasinga](https://hashnode.com/@ramunarasinga) · [Sep 4, 2025](https://hashnode.com/posts/you-ever-defined-a-constant-with-value-1-2/68b9b796b45b5ca7828caacb)

### [You ever defined a constant with value \`1 << 2\`?](https://thinkthroo.com/blog/you-ever-defined-a-constant-with-value-1-2?utm_source=hashnode&utm_medium=feed)

In this article, we review a particular way of defining constants found in Ripple codebase. We will look at: What is Ripple? constants.js file What is 1 << 1? What is Ripple? Ripple is the elegant TypeScript UI framework, created by Dominic Gan...

1 min read · [thinkthroo.com](https://thinkthroo.com/blog/you-ever-defined-a-constant-with-value-1-2?utm_source=hashnode&utm_medium=feed)
