What I’m Learning About Writing Better Structured Code: A Learning Series
After working as a mobile developer and iOS developer for more than two years, I started seeing the same kind of problems appear again and again. Many of them came from code that worked at the time...

Source: DEV Community
After working as a mobile developer and iOS developer for more than two years, I started seeing the same kind of problems appear again and again. Many of them came from code that worked at the time it was written, but was not structured well enough to grow without causing pain later. I made those mistakes myself. My coworkers made them too. Sometimes the problems came from older code written by people before us. Whether we realize it or not. Code with weak structure eventually creates friction. Small changes become harder than they should be. Responsibilities become unclear. And over time, working with the code starts to feel heavier. That experience pushed me to think more seriously about how to avoid falling into the same problems again. It also made me question my own skill in writing code. I started realizing that I had learned how to make things work, but I had not yet learned broadly, deeply, or systematically enough how to think like a software developer when it comes to structu