Tagged articles

variable declaration

3 articles · Page 1 of 1
samdeepthink
samdeepthink
Sep 7, 2026 · Fundamentals

Boost Readability by Reordering Code Lines — Data-Flow Order Beats Method Extraction

The article shows how interleaving multiple data-flow chains in a method forces readers to context-switch, and demonstrates that simply reordering lines to follow each chain sequentially — without changing logic or extracting methods — dramatically improves readability, while explaining why method extraction can backfire when variables are shared across chains.

clean codecode organizationcode readability
0 likes · 8 min read
Boost Readability by Reordering Code Lines — Data-Flow Order Beats Method Extraction
Java Tech Enthusiast
Java Tech Enthusiast
Dec 15, 2024 · Fundamentals

Postfix Type Declarations in Modern Programming Languages

Postfix type declarations, as seen in modern languages such as Go and Rust, place the type after the variable name—a style the author links to cultural naming conventions, arguing it highlights identifiers and can enhance readability after compilation, a practice historically validated by Pascal and Delphi.

GoRustType Position
0 likes · 4 min read
Postfix Type Declarations in Modern Programming Languages
Python Programming Learning Circle
Python Programming Learning Circle
Apr 15, 2022 · Fundamentals

Why Python Struggles with Large Projects: Variable Declarations, Module Management, Dependencies, and Concurrency

The article examines the challenges of using Python for large-scale projects, highlighting issues such as implicit variable declarations, complex module dependencies, version conflicts, the Global Interpreter Lock, and concurrency limitations, while comparing Python to languages like C, Go, and Java.

GILLanguage comparisonModules
0 likes · 13 min read
Why Python Struggles with Large Projects: Variable Declarations, Module Management, Dependencies, and Concurrency