Menu

1 / 3

The Cruise Passengers

DEV Community·Heaven Aldrico·6 months ago
#KGWdYd1B
#ai#reflection#humanity#software#shadow
Reading 0:00
15s threshold

Earlier today, I opened Gojek and noticed something was off about the UI. I took a screenshot, zoomed in, and realized I was right. The shadow of the Gopay balance bar is clipped.

A screenshot of the Gojek app home page with Casey Muratori on a recent podcast with NeetCode

When I saw that, it took me back to the year 2018 when I was 15 years old developing an app for a local cafe. I remembered how frustrated I was trying to fix this. I ended up with a fix that I wasn't even satisfied with, and I felt there had to be a better solution or maybe I was doing it wrong. It happens when a component with a shadow doesn’t have enough space for the shadow to render, so it gets clipped. I ended up adding extra spacing below it and reducing the spacing of the component underneath so the layout still looked the same. Now I understand that the frustration was just an obstacle that I needed to learn my way through.

Nowadays, AI agents can fix many of these problems for us.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.