Improving as a Software Engineer: Understanding the Problem

How I'm improving as a Software Engineer — Part 1 𝐔𝐧𝐝𝐞𝐫𝐬𝐭𝐚𝐧𝐝𝐢𝐧𝐠 𝐭𝐡𝐞 𝐩𝐫𝐨𝐛𝐥𝐞𝐦 𝐛𝐞𝐟𝐨𝐫𝐞 𝐰𝐫𝐢𝐭𝐢𝐧𝐠 𝐜𝐨𝐝𝐞. When I first started coding, my instinct was to immediately start typing code. But I noticed something interesting. Many bugs happen because the 𝐩𝐫𝐨𝐛𝐥𝐞𝐦 𝐰𝐚𝐬𝐧'𝐭 𝐟𝐮𝐥𝐥𝐲 𝐮𝐧𝐝𝐞𝐫𝐬𝐭𝐨𝐨𝐝 𝐢𝐧 𝐭𝐡𝐞 𝐟𝐢𝐫𝐬𝐭 𝐩𝐥𝐚𝐜𝐞. Now I try to follow a simple rule: Spend more time 𝐭𝐡𝐢𝐧𝐤𝐢𝐧𝐠 𝐚𝐛𝐨𝐮𝐭 𝐭𝐡𝐞 𝐩𝐫𝐨𝐛𝐥𝐞𝐦 𝐭𝐡𝐚𝐧 𝐰𝐫𝐢𝐭𝐢𝐧𝐠 𝐭𝐡𝐞 𝐬𝐨𝐥𝐮𝐭𝐢𝐨𝐧. Things that help me: • Rewriting the problem in my own words • Identifying inputs and expected outputs • Thinking about edge cases Often the solution becomes much clearer once the problem is properly understood. Part 2 tomorrow: Breaking problems into smaller pieces #softwareengineering #programming #coding #learninginpublic

To view or add a comment, sign in

Explore content categories