10 Repos
Functions defined on a class constructor rather than on class instances.
Distinct from Class Method Definitions: Specifically targets the static keyword and class-level methods, not general method definitions.
Explore 10 awesome GitHub repositories matching programming languages & runtimes · Static Methods. Refine with filters or upvote what's useful.
This project is a curated reference guide and cheatsheet for modern JavaScript development. It provides a collection of syntax and patterns covering ECMAScript standards, specifically focusing on contemporary language features from ES6 and later. The resource offers specialized guides on asynchronous JavaScript, functional programming patterns, and object-oriented design. It details the use of promises and async/await syntax for non-blocking operations, as well as the application of map, filter, and reduce for data transformation. The guide covers a broad range of language fundamentals, incl
Describes how to implement static class methods for functionality that belongs to the class definition.
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
Documents how to attach methods directly to a class constructor in TypeScript.
Blazor is a .NET framework for building interactive web user interfaces using C# instead of JavaScript. It provides a component-based UI composition model where reusable, self-contained UI elements are built with C# logic and Razor markup, supporting nesting, parameters, and lifecycle events. The framework offers two primary rendering models: a client-side runtime that compiles C# to WebAssembly and executes directly in the browser, and a server-side model that renders UI on the server and sends incremental DOM updates over a persistent SignalR connection. A central capability of Blazor is it
Allows calling public static .NET methods from JavaScript by specifying assembly and method identifiers.
randomcompat is a backward-compatibility library that provides cryptographically secure random number generation functions for PHP 5.x environments. It delivers the randombytes() and random_int() functions that are natively available in PHP 7+, enabling legacy applications to generate secure random bytes and unbiased integers from system entropy sources. The library implements a priority-based fallback chain across operating-system CSPRNGs, selecting the best available random source in order of security. It uses rejection sampling to convert raw random bytes into unbiased integers withi
Exposes procedural functions that internally delegate to static class methods for PHP 5.x compatibility.
PHP-Console-Color ist eine PHP-Bibliothek für Konsolenfarben und ein ANSI-Farbformatierer, der dazu entwickelt wurde, Farbcodes zur Textausgabe in der Befehlszeile hinzuzufügen. Sie dient als CLI-Text-Styling-Bibliothek zum Hervorheben und Kolorieren von Terminalausgaben, um die Lesbarkeit zu verbessern und Informationen für den Benutzer zu unterscheiden. Die Bibliothek bietet Tools für Terminal-Text-Styling und CLI-Ausgabeformatierung. Sie wird in der Entwicklung von PHP-Konsolenanwendungen verwendet, um visuelle Unterscheidungen zwischen verschiedenen Ausgabetypen wie Fehlern, Warnungen oder Erfolgsmeldungen zu schaffen.
Provides global access to color formatting via static class methods that return modified strings.
This project is a comprehensive collection of Python programming education materials, including tutorials, exercises, and curated code samples. It serves as a learning curriculum and software engineering toolkit, utilizing Jupyter Notebooks to combine executable code with descriptive educational text. The repository provides practical implementation guides for building large language model applications, such as retrieval-augmented generation systems, stateful AI agents, and machine learning workflows. It distinguishes itself by offering a structured approach to agentic coding workflows, cover
Teaches how to define static methods to group functions within a class namespace.
This project is a comprehensive guide and educational resource for the TypeScript language. It covers the fundamental principles of the language, including its structural type system, static type analysis, and the process of transpiling typed source files into JavaScript. The material details how to model complex data and reusable type logic using generics, conditional types, and mapped types. It also explains the use of declaration files to provide type safety for external JavaScript libraries and the integration of type checking into existing JavaScript projects via JSDoc annotations. The
Describes how to define properties and methods that belong to the class constructor rather than instances.
Mapperly is a C# source generator used for high-performance object-to-object mapping in .NET. It functions as a compile-time mapping library that produces the necessary transformation code during the build process, eliminating the need for runtime reflection when converting between domain models and data transfer objects. The tool distinguishes itself by providing type-safe diagnostic validation and strict mapping enforcement, emitting warnings for unmapped properties at compile time. It includes specialized capabilities for circular reference handling and deep cloning to maintain object iden
Produces static methods for object transformations to ensure high performance and simplified discovery.
Eloquent-JavaScript is a comprehensive JavaScript programming textbook and interactive coding tutorial designed for web development education. It serves as both a language reference and a practical guide, combining theoretical lessons with an environment where learners can execute and modify code examples. The project focuses on the fundamental principles of the JavaScript language, including lexical scoping, prototype-based inheritance, and asynchronous patterns. It provides detailed instruction on object-oriented programming, functional programming, and the use of the browser DOM to create
Demonstrates how to define functions on a class constructor for utility methods and alternative object creation.
Spark-kotlin ist ein leichtgewichtiges Web-Framework für die Java Virtual Machine, das eine domänenspezifische Sprache für den Aufbau serverseitiger Anwendungen bietet. Es fungiert als HTTP-Request-Router, der es Entwicklern ermöglicht, URL-Muster und Request-Methoden auf funktionale Handler abzubilden, um Web-Traffic zu verarbeiten. Das Framework nutzt eine statische methodenbasierte Syntax, um die eingebettete Server-Laufzeitumgebung zu konfigurieren und Netzwerkverbindungen zu verwalten. Es unterstützt Echtzeit-bidirektionale Kommunikation durch einen ereignisgesteuerten Lebenszyklus für Web-Sockets, was die Definition von Handlern für Verbindungsereignisse und eingehende Datenströme ermöglicht. Über das Kern-Routing hinaus bietet das Framework Funktionen zur Verwaltung von Servereinstellungen, wie Port-Konfiguration und Thread-Pool-Allokation, sowie Tools zur Umleitung von Web-Traffic. Es ist für die Entwicklung von Webdiensten und Microservices konzipiert, indem es idiomatische Sprachfeatures in zugrunde liegende Serveroperationen übersetzt.
Uses a static method-based DSL to configure the server runtime.