๐ ๐ ๐๐ข๐ก๐๐ฆ๐ง ๐๐ก๐ ๐๐ก๐ง๐๐ฅ๐ก๐ฆ๐๐๐ฃ ๐๐ซ๐ฃ๐๐ฅ๐๐๐ก๐๐
I worked as a Laravel developer for two years. I felt stuck. I realized I knew the framework but not actual programming.
To fix this, I started learning JavaScript from scratch. I joined the HNG Internship to find a real challenge.
HNG is a remote, intensive program. It gives you real engineering tasks and tight deadlines. There is no hand-holding. It is a sink or swim environment. It forces you to show how you think when things break.
I want to share two specific tasks from my time there.
๐ง๐ฎ๐๐ธ ๐ญ: ๐ฅ๐ฒ๐๐ฟ๐ ๐๐ป๐ด๐ถ๐ป๐ฒ (๐๐ป๐ฑ๐ถ๐๐ถ๐ฑ๐๐ฎ๐น)
I used Node.js and raw SQL with better-sqlite3. I built a system to handle job retries.
The problem: I hit a race condition. Two instances would read the same pending job at the same time. This caused duplicate work.
The fix: I used SQLite transactions. I made the status check and the update a single atomic operation. I used the synchronous nature of the library to make the locking reliable.
What I learned: โข Concurrency bugs are hard to debug. They do not happen every time. โข You must understand your tools deeply. The library feature I thought was a limitation was actually the solution. โข Clean code does not prevent state corruption under load.
๐ง๐ฎ๐๐ธ ๐ฎ: ๐ฆ๐ธ๐ถ๐น๐น๐ฏ๐ฟ๐ถ๐ฑ๐ด๐ฒ ๐๐๐๐ฒ๐๐๐บ๐ฒ๐ป๐ (๐ง๐ฒ๐ฎ๐บ)
I handled the backend for a candidate assessment feature.
The problems: โข Naming mismatches: The frontend wanted snake_case, but my backend sent camelCase. We wasted time debugging undefined fields. โข Mid-project changes: The product managers changed the requirements halfway through. This forced a complete redesign of the data model. โข Testing struggles: I struggled with end-to-end tests. Watching my tests fail was frustrating, but fixing them taught me more than passing them.
What I learned: โข Use a shared, written API contract before coding starts. โข Spec changes mid-build are expensive. โข Tests are not just about green checkmarks. They tell you exactly where your logic fails.
These tasks were not complex algorithms. They were difficult because they forced me to grow. I left a worse engineer than when I started, and I came out better.
HNG does not protect you from hard problems. That is why it works.
Source: https://dev.to/joyigbonekwu/behind-the-green-tests-my-honest-hng-internship-experience-3hn8