Modern PHP, soft skills, productivity and time management.

Tag: development

Few words about refactoring. And elephants

tl;dr

If you’re refactoring something – do it iteratively.


Recently I was refactoring some code, it was time to pay off some debt. We have modular monolith and it appeared that one module was clearly a part of another, they just ping-ponged themselves all the time.

I was convinced that it was trivial. Communication from and to the module is done entirely via the module’s API. So it’s enough to move all files from the obsolete module to the other one and done. Right?

Continue reading

About testing features

Test values matters.

Recently there was a bug I introduced that could be easily avoided if not poorly designed test values.

It was a pretty big refactor or core functionality. Scary, so I grabbed some people and did testing on my local environment, just to be sure everything works. I seemed so, great success!

Not exactly.

Continue reading

© 2024 Krzych Jończyk

Theme by Anders NorenUp ↑