PinnedInWrite A CatalystbyRicardo García Ramírez·May 27Stop Testing Components. Start Testing Outputs.Component-level validation gives you false confidence. If your validation doesn’t reach the consumer, you’re not testing your system.A response icon2A response icon2
PinnedInLevel Up CodingbyRicardo García Ramírez·Jun 8Three Design Patterns That Made Me a Better Data ScientistStrategy, Repository, and Observer: three patterns I resisted for years, then couldn’t code without.
PinnedInThe PythoneersbyRicardo García Ramírez·Oct 3, 2024Unlocking Cleaner Code: Why You Should Embrace Types in PythonBefore you roll your eyes, let me explain why you should consider using type hints in your next big Python project.A response icon1A response icon1
InLevel Up CodingbyRicardo García Ramírez·Aug 5You’re Adding AI to the Wrong Layer!The same discipline that killed raw SQL in route handlers needs to kill scattered AI calls in your domain layer.A response icon1A response icon1
InDev GeniusbyRicardo García Ramírez·Jul 19When try/finally Becomes a Code Smell (And the Fix)The __enter__/__exit__ protocol generalizes to every acquire/release lifecycle, not just file handles.
InPython in Plain EnglishbyRicardo García Ramírez·Jul 13Dependency Inversion in ML Training PipelinesHow protocols and abstract classes decouple your model, data loader, and optimizer before they become a refactoring nightmare.
InLevel Up CodingbyRicardo García Ramírez·Jul 6Stop Writing Integration Tests You Can’t Run LocallyIf your integration tests require a live cloud environment, you’ve outsourced your feedback loop to CI. You will pay for it every time…
InPython in Plain EnglishbyRicardo García Ramírez·Jul 6The Interface Segregation Principle for Python ProtocolsSmall protocols compose. Large protocols constrain. Here is how to tell the difference.
InTowards AIbyRicardo García Ramírez·Jun 30When Python Isn’t Fast Enough: Building a Token-Aware RAG Chunker in RustHow naive character-count splitting silently corrupts your embeddings, why Python hits a parallelism ceiling, and how a Rust extension…
InPython in Plain EnglishbyRicardo García Ramírez·Jun 30Fail Fast: The Defensive Programming Principle You’re Applying BackwardsReturning a default value instead of raising is not defensive. It is silent corruption.