DEV Community

Refactorly

One tested coding tip. Every day.

Organization Settings Admin

Short, practical coding tips for JavaScript, Python, SQL, PHP, Git, DevOps and AI, where every snippet is actually run and every number is measured. Watch on YouTube: @refactorly

www.youtube.com/@refactorly Joined Joined on 
This One Line Made My Python Queue 2,500x Slower (list.pop(0))

This One Line Made My Python Queue 2,500x Slower (list.pop(0))

Comments
3 min read
Why 0.1 + 0.2 Is Not 0.3 (and the Money Bug It Causes)

Why 0.1 + 0.2 Is Not 0.3 (and the Money Bug It Causes)

Comments
3 min read
10 Terminal Shortcuts That Feel Like Cheating (bash & zsh)

10 Terminal Shortcuts That Feel Like Cheating (bash & zsh)

Comments
3 min read
PHP 8.6 Is Here: 5 New Features You'll Actually Use

PHP 8.6 Is Here: 5 New Features You'll Actually Use

Comments
3 min read
One Form Field Made This User an Admin: Laravel Mass Assignment

One Form Field Made This User an Admin: Laravel Mass Assignment

Comments
4 min read
UUID vs BIGINT Primary Keys: I Inserted 5 Million Rows to Find Out

UUID vs BIGINT Primary Keys: I Inserted 5 Million Rows to Find Out

Comments
3 min read
1 Ticket, 20 Orders: The SQL Race Condition Hiding in Your Code

1 Ticket, 20 Orders: The SQL Race Condition Hiding in Your Code

Comments 2
4 min read
One Quote Can Log You In as Admin: SQL Injection in PHP (and the Fix)

One Quote Can Log You In as Admin: SQL Injection in PHP (and the Fix)

Comments
3 min read
loading...