Ahmad Alfy
https://alfy.blog/
This is my blog where I write about software engineering, programming, and other things that interest me.
フィード

Stop Hardcoding Your Timeouts
Ahmad Alfy
Hardcoded timeouts with no config options are a silent tax on developers outside the wealthy west. A rant about npx skills, Docker Gordon, and the arrogance of assuming everyone has a fast connection.
11時間前

Your URL Is Your State
Ahmad Alfy
A deep dive into how thoughtful URL design can enhance usability, shareability, and performance. Learn what state belongs in URLs, common pitfalls to avoid, and practical patterns for modern web apps.
6ヶ月前

The Hidden Cost of URL Design
Ahmad Alfy
URL design impacts application architecture, performance, and costs. Case study: how flat URLs caused 2x backend load and how we optimized it.
6ヶ月前

How Functional Programming Shaped (and Twisted) Frontend Development
Ahmad Alfy
"What are these generated classes? Did we cancel the cascade?" A backend developer's confusion reveals how functional programming reshaped and complicated frontend development.
7ヶ月前

Avoiding the Shiny Object Syndrome: When “Good Enough” Is Actually Perfect
Ahmad Alfy
How I almost rewrote my entire blog to fix bad ads, then discovered a simple solution. A developer's tale about avoiding shiny object syndrome and focusing on what actually matters.
8ヶ月前

From Code That Works to Code That Matters: A PDF Security Feature Story
Ahmad Alfy
A simple PDF upload validation task turned into a lesson on why code complete != user complete. Discover how small iterations in UX, security, and reliability make the difference between code that works and code that lasts.
8ヶ月前

Smarter than ‘Ctrl+F’: Linking Directly to Web Page Content
Ahmad Alfy
Discover how text fragments revolutionize web navigation. Learn to link directly to specific text on any web page, surpassing traditional 'Ctrl+F' searches. Explore this powerful, user-friendly feature for precise content sharing and improved web experiences.
2年前

Search friendly dropdown menu
Ahmad Alfy
How to build a search-in-page friendly dropdown menu using the hidden attribute with the value until-found.
2年前

CSS Style Guide At Robusta
Ahmad Alfy
I’ve seen a lot of CSS style guides online, but I always found them talking more about how to choose a selector name and how to structure your components rather than talking about CSS itself. I do a lot of code review at Robusta and reviewing CSS is something I enjoy doing. I tried to collect the notes that I found myself leaving for my colleagues and decided to start this opinionated style guide.
5年前

Early detection of potential problems by checking frequently updated files using Git
Ahmad Alfy
One of the popular metrics used to assess the engineering team’s output is Code Churn. It has several definitions and each company and tool measures it differently. I like how Pluralsight defines it:
5年前