Navigation

Osman Aras

Osman Aras

Hi, I'm Osman. I recently moved to the United States from Turkey. I'm an amateur blogger, and I write about software, travel, and whatever sparks my curiosity. That's why I created this blog — to share the things I explore and discover.

481 Posts
3,411 Views
503 Top Post

Posts by Osman Aras

481 posts
Default post image
Node.js

How to Handle Optional Parameters in Express Routes

Create flexible Express.js routes with optional parameters using question marks and regex patterns. Handle routes that w...
Default post image
Php

How to Use PHP's DNF (Disjunctive Normal Form) Types

Master PHP 8.2's advanced type system that combines union and intersection types for precise parameter constraints.
Default post image
Php

How to Handle PHP's Backed Enums

Use PHP 8.1's backed enums to create type-safe constants with underlying values for database storage and API communicati...
Default post image
Php

How to Use PHP's First-class Callable Syntax

Discover PHP 8.1's cleaner way to create callable references without using strings or arrays - making your functional pr...
Default post image
Python

How to Use NumPy Broadcasting Rules

Unlock NumPy's broadcasting superpowers to perform operations on arrays of different shapes without explicit loops or re...
Default post image
Python

How to Reshape NumPy Arrays with reshape()

Transform NumPy arrays into any shape you need without copying data - master the art of array reshaping for efficient da...
Default post image
Python

How to Create NumPy Arrays from Lists

Convert Python lists to NumPy arrays efficiently and unlock the power of vectorized operations for lightning-fast numeri...
Default post image
Python

How to Create Custom Iterators and Iterables

Transform your custom objects into first-class citizens of Python's iteration ecosystem - make them loop-friendly and me...
Default post image
Python

How to Use Python's __name__ == "__main__"

Unlock the secret to writing Python files that play dual roles - importable modules by day, executable scripts by night.
Default post image
Python

How to Handle Python's import System

Navigate Python's import maze with confidence - from package structure to circular import solutions.
Default post image
Php

How to Handle PHP's Intersection Types

Learn to use PHP 8.1's intersection types to create robust interfaces that require objects to implement multiple contrac...
Default post image
Php

How to Use PHP's Never Return Type

Master PHP 8.1's never return type to write cleaner, safer code that clearly indicates functions that terminate executio...
Default post image
Php

How to Handle PHP's Fibers for Async Programming

Use PHP 8.1+ Fibers to create cooperative multitasking and async-like behavior. Implement non-blocking operations withou...
Default post image
Laravel

Laravel Security Essentials: MFA, Passwordless & Encryption

Master Laravel security with multi-factor authentication, passwordless login implementation, and advanced encryption tec...
Default post image
Php

Anonymous Classes in Modern PHP: A Complete Guide [2025]

Discover PHP anonymous classes in 2025! Learn syntax, use cases, and best practices for cleaner, more efficient PHP code...