Constants
Everything on SkillVeris tagged Constants — collected across the glossary, study notes, blog, and cheat sheets.
6 resources across 1 library
Study Notes(6)
Constants in C++
Learn what constants are in C++, the different ways to define them (const, #define, constexpr), and when to use each.
Constants in C
Understand C constants: literals, #define, const keyword, enumeration constants, and how to use each correctly.
Constants (final keyword) in Java
Learn how to declare constants in Java using the final keyword, and understand its use with variables, methods, and classes.
Constants and iota in Go
Understand how const declarations work in Go and how iota generates auto-incrementing enumerated constants.
Constants and Shadowing in Rust
Understand Rust constants declared with const and the concept of variable shadowing with let.
Variables and Constants in Swift
Learn how Swift's var and let keywords declare mutable variables and immutable constants, and why let is preferred by default.