8 مستودعات
Concise conditional expressions that return one of two values.
Distinct from Conditional Rendering: Distinct from web-based conditional rendering: focuses on language-level ternary operators.
Explore 8 awesome GitHub repositories matching web development · Ternary Expression Evaluators. Refine with filters or upvote what's useful.
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
Returns one of two values based on a boolean condition, providing a concise alternative to standard conditional blocks.
This project is a technical interview study guide and a markdown-driven static site designed to help developers prepare for coding screenings. It serves as a curated collection of common technical questions and expert answers, functioning as a comprehensive educational resource. The platform provides a structured curriculum and reference materials across several key domains. This includes a JavaScript language reference covering programming fundamentals, a frontend engineering curriculum focused on UI patterns and responsive design, and a web security knowledge base detailing attack vectors a
Provides examples of using ternary operators and logical expressions within markup to toggle visibility.
This is an interactive Python tutorial delivered as a collection of Jupyter notebooks. It is designed as a structured learning path for beginners, teaching fundamental language concepts through a sequence of lessons that combine explanatory text with runnable code cells and embedded practice exercises. Each notebook is a self-contained unit that introduces a topic, demonstrates it with a minimal code example, and then asks the learner to write code themselves, receiving immediate feedback from the browser-based execution environment. The curriculum is built on a progressive concept-stacking mo
Teaches ternary conditional expressions for concise value selection in Python.
From Java To Kotlin - Your Cheat Sheet For Java To Kotlin
Provides side-by-side comparisons of Java ternary operators and Kotlin if-else expressions.
Zizmor is a security linter and static analysis tool designed to audit GitHub Actions workflow files. It functions as a CI/CD security scanner that identifies security vulnerabilities, misconfigurations, and software supply chain risks within automation pipelines. The project distinguishes itself by providing an automated workflow remediator that applies security fixes to identified vulnerabilities. It also implements a language server for integration with code editors and supports a variety of analysis personas to scale the sensitivity and volume of reported findings. The tool covers a broa
Identifies pseudo-ternary expressions where a falsy true value causes the logic to fall through to the fallback.
Lancet هو امتداد شامل للمكتبة القياسية في Go، يوفر مجموعة من الدوال وهياكل البيانات القابلة لإعادة الاستخدام والمصممة لتقليل الكود المتكرر (boilerplate) في التطبيقات. يعمل كأداة عامة عبر مجالات متعددة، بما في ذلك التزامن، والأمان، والشبكات، والمنطق الوظيفي. يتميز المشروع بأدوات متخصصة لتزامن Go، مثل القفل بالمفاتيح (keyed locking) ومعالجة التدفق القائمة على القنوات، ومجموعة أدوات برمجة وظيفية مخصصة تدعم التجزئة (currying) وتكوين الدوال. كما يتضمن مكتبة تشفير مخصصة تنفذ التشفير المتماثل وغير المتماثل باستخدام معايير AES وRSA وSM. تغطي المكتبة مجموعة واسعة من مجالات القدرات، بما في ذلك هياكل البيانات المتقدمة مثل ذاكرة التخزين المؤقت LRU وأشجار البحث الثنائية، والحسابات الرياضية للجبر والإحصاء، وتكامل نظام التشغيل لإدارة العمليات والملفات. كما توفر أدوات لشبكات HTTP، ومعالجة التاريخ والوقت، ومعالجة البيانات عالية المستوى مثل جبر المجموعات وتقييم التدفق الكسول (lazy stream evaluation).
Provides ternary logic execution to return one of two values based on a boolean condition.
LeetCode-Swift is a collection of algorithm solutions written in Swift, designed for coding interview preparation. Each solution is implemented as a self-contained function with no external dependencies, making it easy to run and test. The repository organizes solutions by topic and company, and every file includes time and space complexity annotations, allowing quick evaluation of algorithmic efficiency. What sets this repository apart is its flat file structure and the way solutions are tagged with the companies that asked them in interviews, enabling targeted practice. All code resides in
Implements a stack-based evaluator for ternary conditional expressions using right-to-left traversal.
Sprig is a comprehensive library of helper functions designed to extend the Go text template engine. It provides a wide array of custom functions that can be injected into the engine to enable complex data manipulation and logic directly within templates. The project offers specialized capabilities for cryptography, including the generation of private keys, X.509 certificates, and secure password hashes. It also includes advanced logic extensions for semantic versioning comparison, ternary evaluations, and the resolution of environment variables from the host operating system. The library co
Implements ternary logic to return one of two values based on a boolean test.