awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

19 مستودعات

Awesome GitHub RepositoriesMultiple Return Values

Allows functions to return multiple values using named or unnamed return variables.

Distinct from Method Return Values: Existing candidates focus on block yield results or single method returns, not the ability to return multiple values.

Explore 19 awesome GitHub repositories matching programming languages & runtimes · Multiple Return Values. Refine with filters or upvote what's useful.

Awesome Multiple Return Values GitHub Repositories

اعثر على أفضل المستودعات باستخدام الذكاء الاصطناعي.سنبحث عن أفضل المستودعات المطابقة باستخدام الذكاء الاصطناعي.
  • azl397985856/leetcodeالصورة الرمزية لـ azl397985856

    azl397985856/leetcode

    55,758عرض على GitHub↗

    This project is a curated educational resource and solution repository for algorithmic challenges, specifically focused on LeetCode problems. It serves as a technical reference for common data structures and algorithmic patterns, providing verified code implementations across multiple programming languages alongside detailed logic and complexity analysis. The repository functions as a comprehensive study guide for competitive programming and technical interview preparation. It includes specialized learning tools such as an Anki flashcard dataset for spaced repetition and a browser extension t

    Utilizes multi-value returns (tuples/lists) to propagate state during recursive tree traversals.

    JavaScriptalgoalgorithmalgorithms
    عرض على GitHub↗55,758
  • typescript-cheatsheets/reactالصورة الرمزية لـ typescript-cheatsheets

    typescript-cheatsheets/react

    47,074عرض على GitHub↗

    This project is a collection of technical reference guides and cheatsheets for implementing static typing patterns with TypeScript in React. It serves as a comprehensive typing guide for applying static types to components, hooks, and state management. The resource provides specific patterns for defining component properties, reference handles, and generic types. It includes detailed signatures for handling synthetic events, form submissions, and the creation of typed custom hooks using tuple assertions. The documentation covers a broad range of capability areas, including state management v

    Implements typed custom hooks using tuple assertions to preserve specific return types and value stability.

    TypeScriptcheatsheetguidereact
    عرض على GitHub↗47,074
  • xcatliu/typescript-tutorialالصورة الرمزية لـ xcatliu

    xcatliu/typescript-tutorial

    10,725عرض على GitHub↗

    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 defining typed tuples with fixed-length positions and distinct types for mixed-type collections.

    TypeScriptjavascripttutorialtypescript
    عرض على GitHub↗10,725
  • odin-lang/odinالصورة الرمزية لـ odin-lang

    odin-lang/Odin

    9,806عرض على GitHub↗

    Odin is a compiled, statically typed systems programming language designed for high-performance software development. It focuses on pragmatic low-level memory control, providing a toolset for manual memory management and precise control over hardware utilization. The language is distinguished by its flexible memory model, which includes custom allocators and precise data layout capabilities to optimize resource usage. It features a comprehensive foreign function interface for importing assembly files and linking with external libraries using configurable calling conventions. The type system

    Supports multiple return values from procedures using both named and unnamed variables.

    Odincompilerlanguageodin
    عرض على GitHub↗9,806
  • rust-lang/rust-by-exampleالصورة الرمزية لـ rust-lang

    rust-lang/rust-by-example

    8,026عرض على GitHub↗

    This project is an interactive programming education resource and tutorial designed for learning the Rust programming language and systems programming concepts. It provides a collection of runnable and editable code examples that serve as a practical reference for language syntax and implementation. The resource features an interactive code sandbox that allows users to execute and test code snippets in real time. It emphasizes the verification of technical accuracy by executing embedded code blocks during the build process to ensure all examples remain functional. The content covers a compre

    Demonstrates using tuples to group different types and return multiple values from functions.

    Handlebars
    عرض على GitHub↗8,026
  • teivah/100-go-mistakesالصورة الرمزية لـ teivah

    teivah/100-go-mistakes

    7,915عرض على GitHub↗

    100 Go Mistakes is a reference book and code review companion that catalogues frequent Go programming anti-patterns and provides corrected implementations for each one. It covers a wide range of common pitfalls, from range loop variable capture and interface nil handling to error wrapping and map iteration randomization, helping developers recognize and avoid these issues in their own code. The project distinguishes itself by offering a structured, example-driven approach to learning idiomatic Go. It covers core design decisions such as when to use pointer versus value receivers, how to apply

    Recommends naming Go return values for readability.

    Gobookchinesedocumentation
    عرض على GitHub↗7,915
  • elm/compilerالصورة الرمزية لـ elm

    elm/compiler

    7,794عرض على GitHub↗

    This project is a functional programming compiler and JavaScript transpiler that transforms a statically typed language into optimized JavaScript for web browsers. It serves as a frontend architecture framework, providing a static type system and a package manager that enforces semantic versioning. The compiler uses a type-checking engine with automatic type inference to prevent runtime errors and guide code refactoring. It implements a structural pattern for managing application state and rendering user interfaces through a virtual DOM, utilizing immutable data and purity-based state transit

    Combines a small, fixed set of values of different types into tuples to return multiple results.

    Haskellcompilerelm
    عرض على GitHub↗7,794
  • norvig/paip-lispالصورة الرمزية لـ norvig

    norvig/paip-lisp

    7,465عرض على GitHub↗

    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

    Allows a single function to output several distinct pieces of information simultaneously through multiple return values.

    Common Lisp
    عرض على GitHub↗7,465
  • halide/halideالصورة الرمزية لـ halide

    halide/Halide

    6,572عرض على GitHub↗

    Defines functions that produce tuples of several distinct outputs in a single pass.

    C++compilerdslgpu
    عرض على GitHub↗6,572
  • elves/elvishالصورة الرمزية لـ elves

    elves/elvish

    6,325عرض على GitHub↗

    Elvish is a shell that combines interactive command-line use with a structured scripting language, designed to make both everyday terminal work and automation tasks more predictable and readable. It parses, compiles, and executes code in three phases, catching syntax and variable errors before any code runs, and it aborts execution on command failure by default to prevent silent errors. The shell introduces value-oriented pipelines that pass structured data like lists, maps, and closures between commands, preserving types without serialization. It also mixes traditional byte streams with thes

    Assigns or captures multiple output values from a single command, with explicit list construction for grouping results.

    Gogoprogramming-languageshell
    عرض على GitHub↗6,325
  • querydsl/querydslالصورة الرمزية لـ querydsl

    querydsl/querydsl

    4,964عرض على GitHub↗

    Querydsl is a framework for the construction of type-safe queries. It uses a fluent API and annotation-based code generation to create mirror classes from domain models, enabling compile-time validation of database queries and removing the need for manual string concatenation. The project provides a unified query syntax that translates into specific dialects for multiple backends, including SQL, MongoDB, Lucene, and JDO. It supports advanced query capabilities such as common table expressions, window functions, geospatial operations, and complex nested subqueries. Beyond data retrieval, the

    Returns multiple columns from a query as a type-safe tuple for structured data access.

    Java
    عرض على GitHub↗4,964
  • gopl-zh/gopl-zh.github.comالصورة الرمزية لـ gopl-zh

    gopl-zh/gopl-zh.github.com

    4,958عرض على GitHub↗

    هذا المشروع هو ترجمة صينية لدليل شامل للغة البرمجة Go. يعمل كمورد تعليمي مترجم ودليل تقني مصمم لتقديم إرشادات حول قواعد اللغة، وتصميمها، وتطوير البرمجيات. يغطي المورد مجموعة واسعة من تعليم لغة Go، بما في ذلك تنفيذ أنماط البرمجة وتصميم الأنظمة. يتضمن دروساً وأمثلة مترجمة تركز على ميزات اللغة الأساسية مثل التزامن (concurrency) واستخدام الواجهات (interfaces). يمتد المحتوى ليشمل مجالات قدرات متنوعة، بما في ذلك أساسيات اللغة، ونمذجة البيانات، والانعكاس في وقت التشغيل (runtime reflection)، وإدارة الذاكرة. كما يوفر تغطية مفصلة لهندسة البرمجيات، ومعالجة الأخطاء، وضمان الجودة، وشبكات الويب. تم هيكلة التوثيق كدليل تقني يحتوي على محتوى مترجم، وتصويبات، وتصحيحات لضمان تعلم دقيق.

    Explains how Go functions can return multiple values, a key pattern for error handling.

    Goprogramming-language
    عرض على GitHub↗4,958
  • borgo-lang/borgoالصورة الرمزية لـ borgo-lang

    borgo-lang/borgo

    4,640عرض على GitHub↗

    Borgo هي لغة ومترجم (compiler) مكتوب بنوع ثابت (statically typed) يحول الصيغة عالية المستوى إلى كود مصدر Go. تعمل كمترجم (transpiler) مصمم للاستفادة من بيئة تشغيل Go مع تقديم نظام أنواع يركز على أنواع البيانات الجبرية ومعالجة الأخطاء القائمة على النتائج. تتميز اللغة باستبدال قيم الإرجاع المتعددة في Go بأنواع النتائج والخيارات، باستخدام عامل تشغيل مخصص لنشر الأخطاء بشكل موجز. وتنفذ أنواع المجموع (sum types) مع مطابقة الأنماط الشاملة وتوفر أداة لإنشاء روابط لحزم Go الموجودة، مع تحويل إرجاع القيم المتعددة تلقائياً إلى مغلفات الأنواع الأكثر أماناً هذه. يتضمن النظام بدائيات للبرمجة المتزامنة، باستخدام قنوات مكتوبة ومهام خلفية لتنسيق العمليات غير المتزامنة. ويدعم نظام الأنواع الخاص بها تنفيذ الواجهات الهيكلية، والاستنتاج التلقائي لأنواع المجموعات، وكتل التنفيذ لتنظيم الطرق على الهياكل (structs).

    Converts Go's multiple return values into single Result or Option types to eliminate nulls.

    Rustcompilergolangprogramming-language
    عرض على GitHub↗4,640
  • sadanandpai/javascript-code-challengesالصورة الرمزية لـ sadanandpai

    sadanandpai/javascript-code-challenges

    4,451عرض على GitHub↗

    This repository is a collection of JavaScript coding challenges and a comprehensive interview guide. It provides reference implementations and educational examples designed to help developers master language fundamentals and prepare for technical interviews. The project covers a wide array of specialized implementations, including functional programming patterns like currying and partial application, as well as asynchronous patterns for concurrency control. It also includes practical examples of Document Object Model manipulation and the implementation of common data structures such as stacks

    Shows how to return multiple data points from a single function using arrays or objects.

    MDXchallengescoding-interviewfrontend
    عرض على GitHub↗4,451
  • dry-python/returnsالصورة الرمزية لـ dry-python

    dry-python/returns

    4,310عرض على GitHub↗

    Returns هي مكتبة برمجة وظيفية لـ Python توفر حاويات آمنة من حيث النوع لإدارة الحالة، ومعالجة الأخطاء، والاختيارية. تعمل كمكتبة حاويات مونادية (monadic) وإطار عمل لمعالجة الأخطاء آمن من حيث النوع، حيث تستبدل كتل try-catch التقليدية وفحوصات null بحاويات Result و Optional لمعاملة الاستثناءات كبيانات. يتميز المشروع باستخدامه لمكون إضافي متخصص للتحليل الثابت Mypy للتحقق من خطوط الأنابيب الوظيفية ومحاكاة الأنواع ذات الرتب الأعلى. يوفر آليات لعزل الآثار الجانبية من خلال حاويات IO ويقدم إطار عمل لحقن التبعية الآمن من حيث النوع الذي يؤجل توفير التبعيات حتى التنفيذ النهائي للحساب. تغطي المكتبة نطاقاً واسعاً من البدائيات الوظيفية، بما في ذلك التجزئة (currying)، والتطبيق الجزئي، وتكوين خطوط أنابيب البيانات التصريحية. تدعم إدارة سير العمل غير المتزامن عن طريق تغليف الـ coroutines في حاويات لسلسلة العمليات غير المحظورة وتتضمن أدوات مساعدة لإدارة دورة حياة الموارد والتحقق من القوانين الجبرية للحاويات المخصصة.

    Sequences multiple container-wrapped values into a single result using a linear syntax that handles wrapping automatically.

    Python
    عرض على GitHub↗4,310
  • alibaba/coobjcالصورة الرمزية لـ alibaba

    alibaba/coobjc

    4,016عرض على GitHub↗

    coobjc is an Objective-C coroutine library that provides await methods and generators to simplify asynchronous programming in Objective-C and Swift. It enables the implementation of non-blocking workflows to eliminate nested callbacks and thread blocking. The toolkit includes a non-blocking Foundation wrapper to convert synchronous Foundation and UIKit APIs into suspendable operations. It provides a lazy sequence generator for producing values on demand via yield, as well as a channel-based communication tool for exchanging data between concurrent tasks using buffered and unbuffered channels.

    Allows functions to return multiple values grouped into a single package for asynchronous retrieval.

    Objective-Cactoractor-modelarm64
    عرض على GitHub↗4,016
  • aceld/golangالصورة الرمزية لـ aceld

    aceld/golang

    3,935عرض على GitHub↗

    This project is a technical programming guide and educational resource focused on Go internals, runtime mechanisms, and advanced language features. It provides detailed conceptual analysis of the language's execution model, including its scheduler, memory escape analysis, and garbage collection mechanisms. The material distinguishes itself through deep dives into high-concurrency system design, exploring the implementation of worker pools and communication channels. It also covers low-level network programming with a focus on I/O multiplexing and TCP state management, alongside a study of dis

    Details how deferred blocks can modify named return parameters to change a function's final result.

    عرض على GitHub↗3,935
  • oils-for-unix/oilsالصورة الرمزية لـ oils-for-unix

    oils-for-unix/oils

    3,288عرض على GitHub↗

    Oils is a Unix shell interpreter and scripting language runtime that combines a modern shell language with POSIX and Bash compatibility. It functions as a structured data shell, integrating JSON and J8 formats to manage complex data without relying on string parsing. The system is distinguished by a C++ transpiled interpreter that converts a subset of Python source code into strongly typed C++ for high-performance execution. It features a garbage-collected typed runtime that supports prototype-based polymorphism, lexical closures, and reference-based variable mutation. To decouple shell logic

    Deno Shell returns values from a procedure using named out-parameters instead of modifying the caller's scope.

    Python
    عرض على GitHub↗3,288
  • rgthree/rgthree-comfyالصورة الرمزية لـ rgthree

    rgthree/rgthree-comfy

    2,789عرض على GitHub↗

    rgthree-comfy is a collection of custom nodes and interface enhancements designed to automate and organize generative AI workflows within ComfyUI. It provides a specialized toolset for node-based automation, dynamic data routing, and graph management. The project distinguishes itself through a dynamic data router and workflow management tools that enable bulk muting, bypassing, and navigation of complex node graphs via bookmarks and visual labels. It also includes logic and math nodes for evaluating expressions and image processing utilities for side-by-side comparisons and precise cropping.

    Allows a single expression to return multiple values as a tuple to drive several downstream nodes.

    JavaScriptaiartcomfyuistable-diffusion
    عرض على GitHub↗2,789
  1. Home
  2. Programming Languages & Runtimes
  3. Multiple Return Values

استكشف الوسوم الفرعية

  • Multi-Value Wrapping1 وسم فرعيWrapping multiple return values into a single container type like Result or Option. **Distinct from Multiple Return Values:** Distinct from simply having multiple return values: this is the act of wrapping them into a single sum type.
  • Named Return Values for Clarity1 وسم فرعيNames return values to improve readability when multiple parameters share the same type and to simplify implementation with zero values. **Distinct from Multiple Return Values:** Distinct from Multiple Return Values: focuses on the naming convention for return values, not the general ability to return multiple values.
  • Tuple Return TypesUsing fixed-length arrays with constant assertions to ensure predictable return structures from functions. **Distinct from Multiple Return Values:** Specializes multiple return values by focusing on fixed-length tuples and constant assertions for type stability.