User Tools

Site Tools


auto

auto


Below is a list of 20 programming languages that support the reserved word `const`, formatted in MediaWiki syntax, along with the URL to the official documentation for each language's reference on this topic. This reserved word is used to declare variables whose values cannot be changed once set.

```mediawiki

  1. JavaScript - Official documentation: MDN Web Docs
  2. TypeScript - Official documentation: TypeScript Handbook
  3. C++ - Official documentation: cppreference.com
  4. Rust - Official documentation: The Rust Reference
  5. Swift - Official documentation: Swift Documentation
  6. Kotlin - Official documentation: Kotlin Documentation
  7. Dart - Official documentation: Dart Language Tour
  8. PHP - Official documentation: PHP Manual
  9. C - Official documentation: Microsoft C# Documentation
  10. Java - Official documentation: Oracle Java Language Specification
  11. Objective-C - Official documentation: Apple Developer Documentation
  12. Scala - Official documentation: Scala Documentation (Scala uses `val` for immutable values)
  13. Ruby - Official documentation: Ruby Documentation (Constants are uppercase variables)
  14. Haskell - Official documentation: Haskell Tutorial (All variables in Haskell are immutable)
  15. Perl - Official documentation: Perl Documentation
  16. Lua - Official documentation: Lua Programming in Lua (Uses local for constant-like behavior)
  17. Clojure - Official documentation: Clojure Documentation (Immutability is a core concept)
  18. Erlang - Official documentation: Erlang Reference Manual (Variables in Erlang once bound cannot be rebound)
  19. Elm - Official documentation: Elm Documentation (Immutability is a core principle)

```

Note: For languages like Scala, Ruby, Haskell, Lua, Clojure, Erlang, and Elm, the concept of immutability or constants is either inherent in the language's design (e.g., through the use of `val` in Scala or the immutability of all values in Haskell and Elm) or achieved through conventions and specific functions. The use of `const` specifically might not be present, but the functionality to create constant or immutable values is supported in a manner consistent with the language's paradigms.

https://en.cppreference.com/w/cpp/keyword/auto

auto.txt · Last modified: 2024/03/14 18:41 by 127.0.0.1