16 Repos
Mechanisms for defining local identifiers with inferred or explicit types.
Distinct from Variable Type Declarations: Distinct from general variable type declarations: focuses on the local scope and type inference behavior.
Explore 16 awesome GitHub repositories matching programming languages & runtimes · Local Variable Declarations. Refine with filters or upvote what's useful.
Flow is a JavaScript static type checker and AST parser that identifies type errors and prevents runtime failures through static annotations. It functions as a code intelligence engine and a static analysis linter to identify unsafe coding patterns and enforce consistency across a codebase. The project includes a type annotation stripper that removes static type signatures from source code, ensuring the resulting JavaScript is compatible with any runtime environment. It also provides a parser that converts typed JavaScript into an abstract syntax tree conforming to the ESTree specification.
Deduces types for local variables and expressions based on their surrounding context.
Crystal is a statically typed, compiled programming language designed for high performance and memory safety. It leverages an LLVM-based compiler to translate source code into optimized machine-executable binaries, while its type-inference-based static analysis enforces strict safety rules during the build process. The language distinguishes itself through a fiber-based concurrent runtime that manages lightweight execution units for asynchronous input and output without blocking the main process. It also features a powerful compile-time macro system that allows for the inspection and transfor
Enables local variable definition with automatic type inference based on usage.
Nim is a statically typed, compiled systems programming language designed for high performance and cross-platform development. It translates high-level source code into C, C++, or JavaScript, allowing developers to produce efficient native binaries or web-compatible scripts from a single codebase. The language emphasizes a clean, indentation-based syntax that simplifies code hierarchy while maintaining the power of a full-featured systems language. What distinguishes Nim is its robust metaprogramming framework, which allows developers to inspect, modify, and generate code structures during th
Supports local type inference and block-level scoping for mutable and immutable variable declarations.
This is a comprehensive tutorial for learning TypeScript, designed for JavaScript programmers who want to understand the language's type system and modern features. The resource covers TypeScript's core identity, including its structural type compatibility, compile-time type erasure, declaration file merging, and the discriminated union pattern for precise type narrowing. The tutorial distinguishes itself by providing a progressive learning path from basic JavaScript concepts to advanced TypeScript patterns. It covers generic type parameter constraints, tuple types with fixed-length positions
Teaches block-scoped variable declarations using let and const in TypeScript.
Wren is an embeddable, class-based scripting language and bytecode interpreter. It provides a dependency-free virtual machine designed for integrating dynamic script execution into host applications via a C API. The language is centered on a modern object-oriented model featuring inheritance, method overloading, and first-class functions. It utilizes a concurrent fiber runtime to manage lightweight, cooperatively scheduled execution paths without relying on operating system threads. The project includes a comprehensive suite of object-oriented primitives, closure-based state capture, and a m
Implements block-level scoping and explicit declarations to track data through a script.
This project is a comprehensive Lisp AI implementation library that provides reference implementations for various artificial intelligence paradigms and symbolic algorithms. It functions as a multi-purpose toolkit containing a logic programming engine, a natural language processing suite, and a symbolic mathematics toolkit. The library is distinguished by its diverse architectural frameworks, including a Prolog-style execution engine that uses unification and goal-driven backtracking, and a system for simulating human decision-making through expert system shells and certainty factors. It also
Creates temporary variables bound to specific values for the duration of a local code block.
ES6-for-humans is an educational resource and technical manual providing a structured tutorial and programming guide for the ECMAScript 2015 language standards. It serves as a reference for transitioning from legacy JavaScript to modern syntax and coding patterns. The project covers modern language constructs including block-scoped variables, arrow functions, and class hierarchies. It provides guidance on implementing functional programming patterns via generators and lexically scoped functions, as well as object-oriented design using prototype-based inheritance. The documentation covers asy
Provides a detailed guide on using let and const for block-scoped variable declarations.
This project is a reference catalogue of the new syntax and behavioral changes introduced in the ECMAScript 6 (ES6) specification for JavaScript. It serves as a curated overview and comparison table of the language features defined by the standard, documenting additions such as block scoping with let and const, arrow function syntax, default parameter handling, and rest parameter collection. The reference is structured as a side-by-side comparison chart that maps old and new JavaScript syntax patterns, providing a focused guide for each capability. It covers the core language fundamentals
Defines functions inside a block so they are only accessible within that block's scope.
Roc is a statically typed, functional programming language built around immutable-by-default semantics, exhaustive pattern matching on tag unions, and a type system that combines optional explicit annotations with full compile-time type inference. Its core identity centers on correctness and expressiveness, using tagged unions for error handling with a question-mark operator for early error propagation, and a trailing-bang naming convention that makes side-effect boundaries syntactically visible at every call site. The language distinguishes itself through a platform-based I/O abstraction tha
Provides mutable local variables with a leading dollar sign for controlled reassignment.
Dieses Projekt ist eine chinesische Übersetzung eines umfassenden Leitfadens zur Programmiersprache Go. Es dient als lokalisierte Bildungsressource und technisches Handbuch, das Orientierung zu Sprachsyntax, Design und Softwareentwicklung bietet. Die Ressource deckt ein breites Spektrum der Go-Sprachausbildung ab, einschließlich der Implementierung von Programmiermustern und Systemdesign. Sie enthält übersetzte Lektionen und Beispiele, die sich auf Kernfunktionen der Sprache wie Concurrency und die Verwendung von Interfaces konzentrieren. Der Inhalt umfasst verschiedene Kompetenzbereiche, darunter Sprachgrundlagen, Datenmodellierung, Runtime-Reflection und Speicherverwaltung. Zudem bietet es detaillierte Abhandlungen zu Softwarearchitektur, Fehlerbehandlung, Qualitätssicherung und Web-Networking. Die Dokumentation ist als technisches Handbuch strukturiert, das übersetzte Inhalte, Errata und Korrekturen enthält, um ein präzises Lernen zu gewährleisten.
Covers the concise syntax for declaring and initializing variables within functions.
Spec ist ein umfassendes Set an Frontend-Coding-Standards und Architekturleitfäden für Projekte. Es bietet ein Framework zur Organisation von Verzeichnisstrukturen, Modulabhängigkeiten und Paket-Layouts, um skalierbare und vorhersehbare Codebasen zu erstellen. Das Projekt definiert strenge Governance-Standards für React-Komponenten, einschließlich spezifischer Namenskonventionen und struktureller Muster für Props. Zudem etabliert es eine JSON-API-Datenspezifikation, um eine vorhersehbare Kommunikation zwischen Systemkomponenten durch standardisierte Austauschformate und HTTP-Antwortstrukturen zu gewährleisten. Die Spezifikation deckt ein breites Spektrum an Funktionen ab, einschließlich Web-Accessibility-Compliance durch semantisches HTML und barrierefreie Formularsteuerelemente sowie Strategien zur Web-Performance-Optimierung für DOM-Manipulation und Ressourcen-Laden. Sie detailliert zudem Standards für JavaScript-, HTML- und CSS-Coding-Styles, um Konsistenz über Entwicklungsteams hinweg zu wahren.
Enforces the use of block-scoped declarations like let and const to improve scope clarity.
Dieses Repository ist eine Sammlung von JavaScript-Coding-Challenges und ein umfassender Interview-Leitfaden. Es bietet Referenzimplementierungen und pädagogische Beispiele, die Entwicklern helfen sollen, Sprachgrundlagen zu beherrschen und sich auf technische Interviews vorzubereiten. Das Projekt deckt eine breite Palette spezialisierter Implementierungen ab, darunter funktionale Programmiermuster wie Currying und partielle Anwendung sowie asynchrone Muster für die Nebenläufigkeitskontrolle. Es enthält zudem praktische Beispiele für die Manipulation des Document Object Models und die Implementierung gängiger Datenstrukturen wie Stacks und Queues. Die Sammlung umfasst fortgeschrittene Sprachfeatures, Implementierungen von Designmustern und die Manipulation von Datenstrukturen. Sie adressiert einen Bereich, der asynchrone Programmierung, DOM-Interaktion, objektorientierte Erzeugungsmuster und Low-Level-Primitive umfasst.
Demonstrates the use of let and const for managing block-scoped variable declarations.
This project is an ECMAScript 2015 reference guide and JavaScript language cheat sheet. It provides a concise summary of the language specifications, syntax updates, and new features introduced in the 2015 standard. The guide serves as a technical overview of modern language patterns used to manage modular code structures and asynchronous operations. It functions as a reference for implementing current coding standards and studying core updates to the language. The content covers a wide range of capabilities, including asynchronous programming, object modeling, and module management. It deta
Documents the use of let and const for block-scoped variable declarations.
This project is a translated historical chronicle and programming language reference documenting the technical evolution and standardization of JavaScript over two decades. It serves as a software engineering archive that tracks version drafts and the influence of various standards bodies on the development of the language. The repository provides a Chinese translation of a comprehensive history, analyzing the socio-political and technical milestones of the ecosystem. It maps language milestones and chronicles the development of official specifications to provide historical context on how the
Discusses the introduction and use of block-scoped variable declarations like let and const.
Dieses Projekt bietet eine Sammlung von Coding-Standards und Konventionen, die einheitliche Entwicklungsmuster über JavaScript-Codebasen hinweg sicherstellen sollen. Es fungiert als konfigurationsgesteuertes Framework für statische Analysen und legt Regeln für Syntax, Struktur und stilistische Anforderungen fest, um häufige Programmierfehler zu vermeiden und technische Schulden zu reduzieren. Der Leitfaden zeichnet sich durch die Vorgabe spezifischer struktureller Praktiken aus, wie etwa die Verwendung von Literalsyntax für die Erstellung von Objekten und Arrays sowie die Erzwingung strikter Gleichheitsvergleiche, um implizite Typumwandlungen zu vermeiden. Zudem betont er ein diszipliniertes Variablenmanagement durch die Anforderung expliziter Deklarationen am Anfang funktionaler Scopes, was Namensraumverschmutzung verhindert und Probleme im Zusammenhang mit Variable Hoisting mindert. Über diese Kernregeln hinaus deckt das Projekt ein breites Spektrum an Entwicklungsstandards ab, einschließlich Namenskonventionen, Modulkapselung und Dokumentationspraktiken. Es enthält zudem performanceorientierte Richtlinien für browserbasierte Umgebungen, mit Fokus auf effiziente Elementabfragen und DOM-Interaktionsstrategien, um die Anwendungsreaktionsfähigkeit zu erhalten.
Mandates explicit variable declarations at the top of scopes to prevent unpredictable behavior caused by engine-level hoisting.
Frontend-Interview-Questions is an educational knowledge base and study guide designed for technical interview preparation, software engineering job roles, and core web development concept review. It provides structured resources covering frontend topics, language fundamentals, and browser mechanics. The repository explores fundamental concepts including JavaScript runtime behavior, asynchronous execution, lexical scoping, closures, hoisting, and variable declaration comparisons. It also examines architectural topics such as browser rendering pipelines, document object model manipulation, net
Evaluates distinct variable declaration keywords by checking whether they permit reassignment, redeclaration, and block or function scoping.