Tag

match

0 views collected around this technical thread.

Architecture Development Notes
Architecture Development Notes
Oct 29, 2024 · Fundamentals

Rust Error Handling Guide: unwrap, unwrap_or_else, ?, expect, and match

This article compares Rust’s primary error‑handling techniques—unwrap, unwrap_or_else, the ? operator, expect, and pattern matching—explaining their safety trade‑offs, appropriate use cases, and providing concise code examples to help developers choose the right approach for robust Rust applications.

Error HandlingProgrammingmatch
0 likes · 4 min read
Rust Error Handling Guide: unwrap, unwrap_or_else, ?, expect, and match
php中文网 Courses
php中文网 Courses
Oct 25, 2023 · Backend Development

Using PHP 8 Match Expressions to Simplify Conditional Logic

The article introduces PHP 8's new Match expression, explains how it replaces verbose if‑elseif‑else chains with a concise, switch‑like syntax, demonstrates usage with code examples, and outlines its advantages such as readability, reduced redundancy, and built‑in default handling.

PHP8conditionalmatch
0 likes · 4 min read
Using PHP 8 Match Expressions to Simplify Conditional Logic
DaTaobao Tech
DaTaobao Tech
Sep 22, 2022 · Backend Development

Advanced Java Stream APIs: Reduce, Match, FlatMap and Performance Tips

The article explores lesser‑used Java Stream APIs—reduce, the matching trio (allMatch, anyMatch, noneMatch) and flatMap—showing practical examples, performance impacts of operation ordering, readability trade‑offs, and when to prefer streams or traditional loops, even mentioning parallelStream considerations.

FlatMapFunctional ProgrammingJava
0 likes · 10 min read
Advanced Java Stream APIs: Reduce, Match, FlatMap and Performance Tips
Python Programming Learning Circle
Python Programming Learning Circle
Apr 6, 2020 · Fundamentals

Using Regular Expressions in Python: Raw Strings, match, search, findall, and Grouping

This article explains how Python's re module works, covering raw string literals, the differences between match, search, and findall methods, how to retrieve match positions, and how to use numbered and named groups for extracting sub‑patterns from text.

GroupingPythonRaw Strings
0 likes · 7 min read
Using Regular Expressions in Python: Raw Strings, match, search, findall, and Grouping