Notes on mobile development, architecture, and engineering craft
Web React performance is a re-render and bundle-size problem. React Native adds a third one: the JS-to-native bridge. Here's what actually moves the needle on a device.
I first learned SOLID design principle on native iOS development. Turns out it applies just as much to a messy React Native component that grew from 50 lines to 500 because "it was just one more prop."
I kept hearing 'just put it in an Nx monorepo' without anyone explaining what that buys you. Here's what actually clicked once I set one up myself.
A try-catch wrapped around ten lines of async code tells you nothing about which line actually failed. Here's how to write error handling that scales past the first function.
Most React performance problems aren't solved by scattering useMemo everywhere. Here's how to actually find what's slow, then fix the right thing.
Singletons solve 'only one instance.' They don't solve 'this class is impossible to test without hitting a real database.' Dependency injection does.
MCP defines how a model talks to tools. Skills define what those tools actually execute, and until now nobody had a threat model for them. OWASP just published one.
Stop fighting with git authentication. Here's how to configure SSH to cleanly separate multiple GitHub accounts on one machine.
A comprehensive reference covering Python from basics to advanced concepts. e.g. variables, control flow, OOP, async, and key libraries.
There are a few different ways to securely add an API key to an Xcode project, depending on the level of security you need and the resources you have available.
Learn how to use ESLint to automatically format your code on save in VSCode. This step-by-step guide shows you how to set up your editor to save time and ensure consistent formatting.
SOLID principles are fundamental guidelines that help software developers design more maintainable, testable, and composable software.
I use XCode and iOS simulator daily, this is what I do to get back some storage space on my Mac other than doing what's mentioned in Apple Support site.
Have you ever use an app while you have an internet connection, but the app tells you "Looks like you are offline!"? So, here's my note on Network Reachablity.
I didn't know about peerDependencies until after I create a react native library myself. I've seen it before, but didn't really know or care why it was written in some of package.json file.
To get clear understanding why a test fails, provide two simple parameters on any of helper method created in XCTest
My notes on four different network testing strategies. End-to-end testing, mocking by subclassing, mocking with protocols, and URL protocol stubbing.
Singletons is a way to make sure a class only have one instance to provide a single access point to it.