Tagged articles
5 articles
Page 1 of 1
Code Wrench
Code Wrench
Oct 24, 2025 · Backend Development

Transforming a Simple Factorial into a Concurrent Go Engine

This article explores how a basic factorial calculation can be turned into a sophisticated concurrent system in Go, covering deadlock pitfalls, fan‑out/fan‑in pipelines, Redux‑style state management, and a controllable streaming factorial engine with pause and resume capabilities.

ChannelFan-outGo
0 likes · 9 min read
Transforming a Simple Factorial into a Concurrent Go Engine
Raymond Ops
Raymond Ops
Apr 24, 2025 · Fundamentals

Master Recursion: Classic Python Examples and Core Concepts

This article introduces recursion, explains its definition and key characteristics, and demonstrates classic Python examples such as factorial calculation, Fibonacci sequence generation, and binary search, helping readers grasp how recursion simplifies complex problems compared to iterative loops.

Binary SearchFibonacciPython
0 likes · 8 min read
Master Recursion: Classic Python Examples and Core Concepts
21CTO
21CTO
Sep 17, 2018 · Fundamentals

Master Python Recursion: Limits, Pitfalls, and Practical Examples

This article explains how recursion works in Python, demonstrates factorial and list‑flattening implementations, shows how to check and adjust the language's recursion limit, and warns about infinite recursion errors with clear code samples.

Code ExamplesPythonRecursion
0 likes · 5 min read
Master Python Recursion: Limits, Pitfalls, and Practical Examples