Tagged articles
4 articles
Page 1 of 1
php Courses
php Courses
Nov 8, 2024 · Backend Development

Simulating Recursion in PHP Using Stacks, Loops, and Goto

This article explains how to replace recursive functions in PHP with stack‑based iteration, loop‑driven depth‑first tree traversal, and even a goto‑based approach, providing complete code examples and discussing the trade‑offs of each method.

GotoRecursionStack
0 likes · 7 min read
Simulating Recursion in PHP Using Stacks, Loops, and Goto
Liangxu Linux
Liangxu Linux
Jul 30, 2023 · Fundamentals

5 Little‑Known C Tricks That Can Boost Your Code

This article explores five obscure yet useful C language features—enum bit‑fields, label‑and‑goto error handling, varargs functions, unconventional union usage, and conditional compilation—providing clear explanations and code examples to help programmers write more flexible and efficient code.

Advanced TechniquesEnum BitfieldsGoto
0 likes · 5 min read
5 Little‑Known C Tricks That Can Boost Your Code
21CTO
21CTO
Nov 30, 2015 · Fundamentals

9 Bad Programming Habits We Secretly Love (And Why They Persist)

While many developers know they should avoid certain coding shortcuts, this article reveals nine surprisingly common bad programming habits—like using goto, skipping documentation, over‑compressing code, and redefining operators—that programmers often cling to, explaining their origins, risks, and occasional hidden benefits.

Gotobad practicescode quality
0 likes · 14 min read
9 Bad Programming Habits We Secretly Love (And Why They Persist)