Why One-Shotting Doesn't Work for Real Data Engineering ft. Joseph Machado
· 21 min read
This is the latest episode of the series, and we talk about AI for BI, why manual reviews are still needed in data engineering, why sometimes pen and paper works best with AI, when to use spec-driven development, what few skills he uses, if semantics are back, if Elixir is a good programming language for agents, and if Joseph chooses the language based on what the agents are good at.
Joseph brings a long experience in data engineering with him, and here are some of his highlights from this article:
- You can't just sit back and be like, "Oh, let it go." And then two prompts down the line, you have like 30 different files. You have no idea what's happening.
- I don't choose languages based on if agents can write them well. I choose languages based on its primitives (e.g. actor model with Elixir) and what it enables me to do.
- I feel like if I don't know the data model, I won’t be able to enable stakeholders to use data effectively. Understanding the data model is understanding how the business works.
This article is structured into four parts: (1) how to follow your curiosity and learn in times of AI, (2) talk about exhaustion and whether AI is addictive when working with DE, (3) why reviewing code is still needed, and (4) side topics like semantics are back and what programming language to use with agents.
Introducing the Guest: #6 Joseph Machado
Joseph Machado started in software engineering and now works as a data engineer, with about 10 years of experience building and scaling data pipelines and infrastructure. He has worked at LinkedIn and Netflix. He is the author of the Efficient Data Processing in SQL guide and writes Start Data Engineering, a renowned blog about everything data engineering. He also offers courses for aspiring and working data engineers, including DE 101, Spark for Data Engineers, and Data Engineering Design Patterns.
At Netflix, he built two systems. One used semantic data and CI checks to ensure compliance with privacy laws. The other enabled semantic data discovery, which increased data usage. Both focused on data quality, especially making sure that changes didn't degrade it.
What Joseph Is Currently Working On Today
We started the interview by me asking what he's been up to these days, as he recently quit his work at Netflix and teaches students data engineering around the world online at Start Data Engineering.
He shared that he is currently following his curiosity and learning new things. He is building a web app (courses.startdataengineering.com), his own clone of Podia, the course platform that combines community, coaching, and courses, which he has been paying for so far. He uses technology he always wanted to try, but also knows is suited for this kind of work (rich, interactive web applications): Elixir with the Phoenix Framework.
He also took a leap of faith and started working for himself, and his mind is now divided between 'no more courses' and more business-type use cases, he tells me. His followers and the people he talked to still consume content, but are no longer willing to pay for it as much as they used to.
Part 1: You Still Need to Know What You're Doing
Furthermore, I asked, "When agents become fully autonomous, the question remains: what do we data engineers still need to do, and how do we learn?" That's where we started with the interview.
One-Shotting Does Not Work
Joseph says that he still enjoys learning something new, mostly by reading lots of books (e.g., currently Elixir in Action) and documentation. He's going back to fundamentals, while also applying his long-learned experience, and learns by setting himself a challenge, for example on how to encode video or OAuth, learning so many things while building it. He says:
I see all these people saying like one-shotting a web app. It didn't work for me1. I'm not sure what people are talking about, to be honest. If you know what you're doing, yes, then that might work. But if you are not familiar with these concepts like authentication and logging systems and hosting CDN type stuff, you need to know that.
He said similar things: "You can only one-shot what the model wants, not the tooling you actually want".
AI for BI: Dashboards Are Optional, Data Modeling Is Not
Shifting towards data engineering work and how to use AI for daily work, I asked Joseph how he sees data analysts going away with Claude Dashboards/Data or Claude in general (or even data engineering too).
Will we create dashboards? Maybe. But do we need to create dashboards? Probably not. You might have like bunch of queries, but at the end of the day, you have some numbers, you have some charts. These are all queries.
More important is accurate data: dashboards are optional these days. Not every query needs a visualization. Just a text answer is enough to unlock a business decision.
What is not optional, in his opinion, is what it almost always comes down to:
proper data modeling and proper SLAs and making sure your data is on time and correct. If we do that, data accessibility has gotten much easier with AI (hook up our gold datasets to an MCP and stakeholders can ask any question), but this still remains, and I think that's what the Anthropic team was talking about in their how they approach data engineering as well. The modeling still remains the key part. Everything else you can kind of use agents to make better.
Learning While Working with Agents: And the Danger of Not Learning New Fundamentals
As this directly connects to how to learn new things, or more importantly, the danger of not learning new skills, getting overwhelmed and stimulated, or even addicted if we use AI too often, I asked Joseph, "What do you learn most about coding with AI?"
He sees two parts:
One is the AI self-improvement RSI type thing where how will it improve without human inputs.
I don't know if it will, but what I can say is, like, from the way I work, I work in smaller increments and I do read the documentation. And I do the planning. I don't just hand it off to AI. I do the plan and get it reviewed and then implement it. So that helps me guide the LLMs in the way I want it to. Even with the latest frontier models, I find myself constantly having to guide it to do just enough to meet requirements.
So it might not come up with novel solutions, but for standard problems like CRUD apps that I'm building right now, it's pretty established.
He doesn't think he's doing anything truly novel:
I don't know how many times I've done something truly novel, to be honest with you. Everything I've done is a mix of things from books or documents, you know, like Kimball, still pretty good. You know, if you do that, you're pretty much there. So I think it's just like mixing existing information, existing knowledge for your unique use case. Identifying the use cases (with business context and stakeholder expectations) is where I spend a lot of time.
He continued, saying he believes there will be "new standards going forward, but I don't know what that looks like".
The Junior Pipeline Is Broken, and What About Seniors/Staff?
What about new hires and junior engineers in data engineering, when everyone is hiring only seniors and staff engineers?
That is something that I don't know what we're going to do in the next 10 years, maybe 5 to 10 years. So yeah, it's a tough situation for sure.
What Should Juniors Do: Build Things
What should juniors do then? Take the time to read and understand a topic (books, docs, etc.). For example, he's reading "Elixir in Action" because the book teaches him the fundamentals of how the language is supposed to be used. Books work best for him. But everyone’s learning patterns are different, so find what works best for you to actually learn a topic.
Start with what you are familiar with. For example, he knows data modeling, so it's easy for him to kind of start with that. But if you're someone who's junior, he continues:
You need to learn so many things. You need to learn data modeling. How does the front end and back end work? What's a client? What's a server? So it is going to be a lot, unfortunately.
But fortunately, nowadays, you can build something really quickly, and as you build, "make sure to kind of understand how things work", he says, "that will help you quickly ramp up".
That's the learning part. About the "on the job part", he has no idea how that's going to pan out.
What About Senior Data Engineers?
Will we still have senior data engineers, what about them, or will we all end up doing product management? That is the next question I asked him.
He says typing code is not that valuable anymore, but he still refactors a "bunch of code because sometimes it creates very wide code", and he just puts it more condensed into one file. That might be something you still have to do, he says.
Having a sense for the output, the code it produces, is also something only seniors can have through experience, I believe. There's a gut feeling whether it needs a refactor or not, and that's where being a senior adds so much value these days. A junior might see the code, or see that it runs and does in one use case what it is supposed to do, and just say 'okay, yeah, it works'.
But how do you gain these experiences today? Joseph says:
Yeah, I don't know how to get that experience because I built it, as you said, by like trial and error, having painful debugging experiences.
The only thing he suggests here is to read The Pragmatic Programmer book that goes through all this stuff, like quality, minimum code, things of that nature. He thinks:
the only way for juniors is to just go out and build stuff that you are interested in. [...] Either it be web apps and pipelines, whatever it might be.
Part 2: Don't Trust Social Media
The next big thing we talked about is social media, as he shared his thoughts on LinkedIn and on other platforms, and the landscape is changing so fast with AI-generated content, too.
He says that on social, everyone is like "Oh, I'm building this phenomenally complex system using one day":
Don't believe that. Just go out and try your own thing. Build your own thing. Get off social media because that everyone kind of exaggerates.
Building your own thing will teach you more, and you will know for yourself, he says. To me, it's like the golden age: everyone has the genie in the box and can build whatever they want, so it's very impressive at first, but if everyone shares the same, it's less impressive when compared.
I also think it is important that we build with purpose in mind. For example, build something for yourself that you like, as Joseph says, not to impress someone. Then at least there's one interested person: you. Also, from a maintainability perspective, it's much easier to maintain if you use the thing.
I try not to go on social media. Instead, I try to like read books or build my own things. That way it's actually, I can actually better myself because I feel like most of social media doesn't serve me. I might find an interesting article, but 20 minutes later, I don't remember what it was talking about. So kind of analyzing it from that perspective, it's kind of useless to me.
Addiction, and Back to Pen & Paper
Related to social media, I asked, "It's also addicting to prompt and not know what you'll get, right?" Because that's also one thing I noticed: AI is a little bit similar in the sense that it starts to make you not think anymore. You just prompt. It gives you this dopamine hit because you get nice results updating your website or writing a nice pipeline.
It is. It's a tough one. Yeah. Especially if you're tired, they get you.
So what he tries to do instead:
Write down on a pen and paper like what needs to be done. Implement X feature, implement Y, C, whatever, and just try to get them done as soon as possible.
When done, review the output and never say okay to the next questions, as it always tries to ask you some extra things to keep going. Joseph continues, "That's it. As long as it works, I'll stop".
Part 3: Why Reviewing the Code Is Still Needed
I asked Joseph about reviewing code: with the latest models like Fable and Astra getting so good, does he still review the code? And yes, he does. He even says:
I think that's the main thing because, as you said, like sometimes when I'm working on the UI, I hate looking at HTML. So I just go 'okay okay okay', 'yes yes' do the next one, and then now I have like 50 files I have to see through. I don't know what's happening there.
It's tempting to just let it slip through, especially when not familiar with the code, he says. So I asked, how do you review so much code or so many changes?
For him, that's back to understanding the basics. For his example with Elixir, he knows what he wants as he read the docs and understands if it's not correct. And to avoid reviewing a ton of code, knowing when to stop "is also kind of crucial", he says. Also, having the plan written down, maybe even on paper, helps him navigate.
This is also how Maggie Appleton works for GitHub Next, as she explained in a recent podcast. She sketches on paper to get an idea and feel for it, and then, only when she knows exactly, she lets the agent build. This keeps you away from building stuff you don't want.
Iterate, Don't Spec
I think, whether you write it on paper or not, Spec Driven Development (SDD) is really helpful and works well with agents. There's a clearly agreed-on plan that gets implemented. With the latest models or with superpowers, the agents check the implementation against their own specs with different models and delegated roles (reviewer, general review, spec writer, etc.). So with that in mind, I asked Joseph if, generally, he uses SDD or a different approach for AI coding in data engineering.
It depends on the project, he said, and it always starts with an idea. If it's a small idea, a small pipeline, it's basic SQL, which is no problem for the agent. Iterating through a notebook testing the code is what he used to do, but now it's more interactive with AI:
I don't really know exactly how it's going to turn out. I have an idea and then I just iterate.
And he usually does not start there:
I don't really start with specs because I don't really know what the end state might look like usually.
Then he does read the code (except the UI code 😉). He checks that the routes are secure. He thinks reading the code is more important than ever right now, because he notices the agent doesn't capture all the failure routes and creates complexity (unnecessary features, roundabout ways of implementing a feature, etc.), and he'd rather know what's happening than figure it out when it breaks later.
He looks at the code in git, and he does read it very carefully. He mostly looks for failure modes and the possibility of refactoring.
Skills and Coding Setup: Ponytail and Tool-Made Skills
Joseph says he doesn't use a lot of tools and skills, but he uses ponytail, a skill that makes your AI agent think like the laziest senior developer in the room. It is also described as "the best code is the code you never wrote", with the goal in mind to write as little as needed. He likes it for that reason: "because it creates condensed code".
His AI setup, as he shared on Reddit, is Pi + OpenCode Zen (subscription) + ponytail skill + code snippets. He's a big fan of how it's simple but extensible with extensions. He looks at agent skills online and builds his own versions. He finds most skills online do too much. When he identifies any bottlenecks in his dev process, he updates the skill for his use case. It's been great. He still designs the systems and reviews the code though.
He also uses Marimo notebooks. He prefers it, and they have "certain skills that allows an agent to understand the notebook variables and things like that". So he uses that as it's very convenient and suits his workflow.
But he also likes to write down things, because your thought process changes over time, so if you use skills, they might go stale. What he thought three years ago is not the same as how he thinks today. He uses paper notebooks and Nvim Org mode to keep track of long-term notes.
Refactoring Possibilities
A big one he looks for in reviews is refactoring possibilities. Something that he also developed with experience, to know when one is needed or not. "Sometimes [the agent] creates a sprawl of files. Can it be in one file?"
Things of that nature, he says. You need to be locked in to see these things:
I feel like you can't just sit back and be like, "Oh, let it go." And then two prompts down the line, you have like 30 different files. You have no idea what's happening.
Which Model to Use? Does it Matter Much?
I asked him which model he uses, and if he thinks the model matters for his workflow. He said he's been using the latest Opus one, and also DeepSeek because it's cheap and fast:
I don't see that much of a difference to be honest. It works well.
Interestingly, he is not using the latest frontier models at this time, and he might give up some efficiency if the tradeoff is a faster iteration loop with DeepSeek. And because he is involved in every step, it doesn't really matter that much which model he uses. I made similar observations too.
Today, he mostly uses Neovim and git diff tools like lazygit, and thinks a lot about what can go wrong, 'the failure mode' in his thinking:
How can this fail? What are the inputs? Security-wise, how will it fail?
But all in all, he wants to build the "Phoenix way", something he can only do if he reads about it, painful hours of reading, and knows the context, the schema, and tables together with the MVC pattern.
Similar with pipelines, you need to understand how your company thinks about data, who is going to use it, who will be your evangelist, etc.
But in the end, it comes back to the data model. A good data model catches a lot of problems, also already with its foreign keys and business flow, so starting from there helps.
I saw his Data Quality Checker at How to Get Better at Python as a Data Engineer With AI?, and was interested in who or what the data quality checker is. He said that was just an example of how to show your Python expertise. The code is at data_quality_checker/src/data_quality_checker/main.py. There are others. Check them out if that sounds interesting.
Part 4: Semantics, Languages and Teams
As the last part of this interview, I talked with Joseph about other interesting and related questions: the current semantics and context layer topic, and what programming language he sees winning.
Is the Semantic Layer Back?
As everyone talks about context, ontologies, and semantic layers, I asked him if semantics are making a comeback.
He said that it really depends on the size of the company, e.g., Excel is fine for small ones. Table column comments with a metadata service and what type of column it is, e.g., price (ENUMs), go a long way. At large scale with a data catalog system: "show all tables that have email" with PII checks, metadata about data, metrics as well: dbt metrics are useful or Apache Ossie (formerly OSI, Open Semantic Interchange), there's a lot possible. E.g., Netflix and LinkedIn built their own internal systems, similar to LookML, to define dimensions and metrics and aggregate them.
Picking the Programming Language for Agents, not for Himself?
Regarding programming languages for data engineers, I was curious if he sees any language winning or taking over DE. For him, he is using Elixir for web development. He loves learning about all the different primitives of Elixir with actors -> actor system OTP -> graph of nodes -> spin up and down, it's all very light. Very good for async, it has good primitives. For data engineering, he'd stick with Python and SQL.
Would he use Rust just because it's faster or better for agents? He says he can understand why people use Rust (because it's just faster, so much faster for CPU-intensive stuff), but:
For me, the way I think about it is I need to be able to understand the code.
He is unsure about just switching:
Sometimes I don't know Rust, and I don't know if I have the time to invest to be sufficiently good at it, and most importantly, I don't know if it's necessary for my use case, web app. I don't need Rust.
On the other hand, he says, for fast data processing he might consider:
If I'm writing like maybe a data processing engine like Polars or something, maybe it's worth it for me, like the minimum thing is it's good enough.
But he doesn't choose languages based on whether agents can write them well or not. As a bonus, AI models seem to write Elixir more successfully than other languages, he says.
See Why Elixir is the best language for AI by the creator of Elixir. The article mentions six reasons for Elixir being well suited for agents: immutability and readability, documentation, stability, fast and accurate feedback, low operational complexity, and introspection.
Teams: Small Lets You Own It
Closing off, I asked him how he reviewed at what I presumed was a large scale at Netflix as part of a team. He said he left before agentic loops were a thing. They did use AI for reviews, but always with a human in the loop.
But he says something interesting:
Smaller companies is easier because you can own it. You can just push through at the cost of making some mistakes that you didn't see.
In larger companies, you have to get consensus among more people. He also found the book Managing Oneself by Peter F. Drucker helpful for thinking about whether larger or smaller teams suit you as an individual.
The problems remain the same. "If you just prompt, what's the point, right?" Joseph says. You can't just prompt, and that's a good thing. It also tells us that thinking through the problem, whatever industry you are in, is more important than the coding. Be mindful of how you use the power of prompting.
Stay Positive, Besides the Doomsday News
To wrap it up, he tries to avoid the doom-type situation sometimes read online as it's not helping him in any way. It might be reality, but it's not helping him right now.
When asked about anything else he sees or wants to talk about, he said besides the negative or fear-making news, there's lots of positive, and the agents are working great for him, as long as he keeps his eye on the prize: knowing what he is building for whom, and why. If he just lets go because it's fun, "it just generates a mess". Joseph closes with the argument that actually getting stuff out there is more fun than just building.
But then again, he says:
It's crazy times. I don't know what the outlook is for the next five years.
And he is right, nobody knows. But let's keep exploring. I thank Joseph for his time talking to me and for sharing his insights, what he is building, and how he is working with AI. I had a blast, and I always enjoy talking to Joseph. I hope you enjoyed reading about our discussion as much. Until the next one.
This interview took place on October 13, 2026. Given how fast things change in AI, keep that date in mind when we mention specific models or tools.
I leave you with some recent articles of Joseph's that we either discussed or are related to the topics we covered:
- How to Transition from Data Analyst to Data Engineer
- How to Get Better at Python as a Data Engineer With AI?
- "Do I Need to Learn Python for Data Engineering, Now That We Have AI?"
- How to Be an In-Demand Data Engineer in the Age of AI
- How to Add Business Value as a Data Engineer
Table of contents