Topics
Tag · 24 posts

clean-code

Writing code that is readable, maintainable, and expressive.

2024

2 posts

2023

3 posts

2022

4 posts

2021

1 post

2020

9 posts

Principles of package design

Package design principles for classes ready to be reused: the right balance of cohesion and coupling, for users and maintainers.

Never Use array_merge in a Loop

Using array_merge inside a loop is a performance killer. The spread operator will help you to improve this by flatting the array.

Typed Arrays in PHP

Argument unpacking, function variable argument list, and variadics function.

Object design style guide

Matthias Noback's practical guide to flexible, readable object-oriented code, useful in any OO language.

Testing Effectively Legacy Code

How to write characterization tests for legacy code to safely refactor without breaking existing behavior.

Strict Types in PHP

Why declaring strict_types in PHP improves code readability and prevents silent type coercion bugs.

The Art of Refactoring

If you see something, in the scope of your current task, that can be easily improved, improve it. And if you have any questions about it, ask.

Final Classes in PHP | Java | Any

Clear contracts, isolated side effects, testability, low complexity and cognitive load, code fluidity, and confidence in yourself.

The Art of Testing: Where Design Meets Quality

Why you should consider testing as part of your daily development habit and how it's directly linked to the software quality.

2018

1 post

2016

4 posts

Keyboard Shortcuts

Movement vim hjkl

hPrevious post← left
jScroll down↓ down
kScroll up↑ up
lNext post→ right
ggScroll to top
GScroll to bottom
nNext sectionnext heading
NPrevious sectionprevious heading

Go to g = go

ghHomego home
gbBloggo blog
grReadingsgo readings
gcCVgo cv

Actions

/⌘KSearchvim search
dToggle themedark mode
tToggle TOCtable of contents
iSwitch languagei18n
mToggle highlightmark text

General

?Show this help
EscClose
:Terminalvim command mode
↑↑↓↓←→←→BA???