I am so excited to be here, and I've got so much to share with you, so I'm thrilled that we don't have to do this. We just did that. So we're going to get right into story time.
When I was just getting into software development, I had an internship at a company called Domo, and we built an app that was a business intelligence app. This was BI before AI was too popular. And watch your eyes. This is the only bright slide that I have for you, but it's going to blind you. And now I can see you.
So this is the app, and I was asked as the intern to add a checkbox. It wasn't actually this checkbox because the UI looks completely different now than it did then, but we're going to imagine. I was asked to add that checkbox. Here's the code for that. It was a backbone model and view. We're going to look at this in detail. So that's our model. And then here's a bit from our view. No, just kidding. We're not going to look at that. And it actually isn't the code, either. That was ChatGBT. But it was a backbone stuff. It was a 1,000 line model, a 2,000 line base view, and a 1,000 line view that extended the base view. That's what I had to work with to add this checkbox. It took me all of, like, five minutes to add the UI for that.
But I want to know, just shout it out because I can't see if you raise your hands. How long do you think it took me to add this feature? Two sprints? A day? Two hours? Five months, OK. It took me two weeks. And I'm like the intern trying to prove myself, and I did. Yeah, I proved that I am incompetent, I guess. It was just so sad. Why do you think it took so long? Shout this out. Complexity. OK, so in general, complexity. Yeah, there was a lot of code. What specifically makes this job so complex? JavaScript. Yeah, you're not wrong. It's network management. The loading the data and doing the mutation. Adding the UI was like super fast. That was not hard. It's just an HTML template in my backbone view, but managing that network, man, that was tough. And that's what made it take two weeks. So I want to make the network completely vanish, completely disappear. And so that's why we're going to see what is happening to our network code in our applications.
The rest of my talk is based on a workshop that is completely free. You can go through the entire thing yourself. And that's what we're going to go through here. It's the React and the Vanishing Network. You can check this out later. We're going to be moving kind of quick through this.
Comments