Tagged articles
4 articles
Page 1 of 1
php Courses
php Courses
Dec 25, 2025 · Backend Development

Boost PHP Performance: Faster Alternatives to count(), array_search() and More

This article presents practical PHP performance tips, showing how to replace count() with strlen(implode()), use in_array() instead of array_search(), free memory with unset(), prefer str_replace() over preg_replace(), and choose mysqli_fetch_assoc() over mysqli_fetch_array(), each illustrated with clear code examples.

Backendcode-tipsoptimization
0 likes · 6 min read
Boost PHP Performance: Faster Alternatives to count(), array_search() and More
Python Programming Learning Circle
Python Programming Learning Circle
May 19, 2023 · Fundamentals

Python Container Types and Handy Tricks for Lists, Dictionaries, and More

This article presents a collection of practical Python techniques for working with built‑in container types such as lists, tuples, sets, and dictionaries, covering operations like extracting maximum values, counting elements, slicing, copying, mapping, filtering, column extraction, and transposition, all illustrated with clear code examples.

Data StructuresDictionariesIterators
0 likes · 7 min read
Python Container Types and Handy Tricks for Lists, Dictionaries, and More
Python Programming Learning Circle
Python Programming Learning Circle
Jun 20, 2022 · Fundamentals

Five Essential Python Tricks for Efficient Coding

This article introduces five practical Python tricks—including string manipulation, list comprehensions, lambda and map functions, single-line conditional expressions, and the zip function—providing concise examples and code snippets to help developers write cleaner, more efficient code.

MAPcode-tipsif-else
0 likes · 8 min read
Five Essential Python Tricks for Efficient Coding