Code is the answer to everything
It is not necessarily written by us though
Show notes
Learn Effect for free: https://infinite.academind.com/courses/effect-fundamentals AI disclosure (related to the above course): https://infinite.academind.com/ai-disclosure
Website: https://maximilian-schwarzmueller.com/
Socials: 👉 Twitch: https://www.twitch.tv/maxedapps 👉 X: https://x.com/maxedapps 👉 Udemy: https://www.udemy.com/user/maximilian-schwarzmuller/ 👉 LinkedIn: https://www.linkedin.com/in/maximilian-schwarzmueller/
Want to become a web developer or expand your web development knowledge? I have multiple bestselling online courses on React, Angular, NodeJS, Docker & much more! 👉 https://academind.com/courses
Show transcript
00:00:00: One thing which in hindsight especially has been glaringly obvious,
00:00:05: but maybe not as obvious as it's today, is that code is the answer,
00:00:11: the answer to everything,
00:00:14: digital, at least, though you could question if it's really just digital.
00:00:19: And what do I mean by that? Well, if there's one thing we can see
00:00:25: these days with the rapid acceleration in AI development and AI model
00:00:30: capabilities, to me it is that everything that happens on a computer,
00:00:36: and more and more maybe even outside, but I'll get back to that,
00:00:40: is, of course, powered by frontier large language models,
00:00:44: frontier models that excel at coding. And that includes,
00:00:48: and that's the part I'm getting to, things like image or video
00:00:53: generation. Now, of course, we had and have AI models
00:00:59: that are good at generating images and videos through AI, I guess what
00:01:04: it's an AI model. But the point I want to make here is that I believe,
00:01:09: and I think we can see that more and more we're shifting away from
00:01:15: these dedicated models, diffusion models that generate those images and
00:01:20: videos, more and more towards just using large language models in the
00:01:24: end for everything, because code can be used to generate everything.
00:01:28: I mean, if you think about it, an image is just a bunch of bits and bytes.
00:01:34: Well, guess what? That can be generated through code, theoretically.
00:01:37: You can just have code that draws the individual
00:01:39: pixels and colors them in the right way.
00:01:42: You can have code that draws an SVG and use that to build an illustration.
00:01:45: And to some degree, that was, of course, possible before large
00:01:50: language models, too. As humans, as developers, we could build SVGs.
00:01:56: We could build icons by writing SVG code. Now, typically we didn't do that.
00:02:01: Maybe some of us did,
00:02:02: but very often we used helper tools like Adobe Illustrator.
00:02:07: Because it turns out that for us humans,
00:02:09: it's easier to draw an icon and export the SVG code than to
00:02:14: just write the SVG code and check if it's right and so on.
00:02:17: But there have been exceptions before too, and of course it depends
00:02:20: on the complexity of what you wanted to create. If we look at video,
00:02:25: we definitely did not create that with code by default,
00:02:29: but nowadays that of course is more possible.
00:02:33: And you can generate explainer videos, for example,
00:02:37: or all kinds of videos through code. Because ultimately you can,
00:02:42: for example, build a website where stuff gets animated and record that.
00:02:46: That would be one approach, not the only one, and probably not
00:02:49: the approach that will win in the long run, but one approach.
00:02:53: Because, of course, these AI models got really good at generating code.
00:02:58: And it's probably for that reason that SpaceX AI cut about 60 Grok Imagine
00:03:04: staff to push coding tools and agents. So they laid off, as I understand it,
00:03:09: almost their entire team that was responsible for their image generation and
00:03:13: video generation models to focus on building better coding tools and agents,
00:03:18: and as I would guess, also to focus on building
00:03:21: better large language models that excel at coding.
00:03:25: Because that's also been one mistake Google seemingly made.
00:03:29: They did not see or not focus enough on the importance of having
00:03:34: large language models that are really good at generating code,
00:03:38: which is why they've been behind for
00:03:41: a year, maybe more, where all their Gemini releases were totally not
00:03:46: interesting from a coding perspective. And now suddenly they are back.
00:03:51: Now suddenly they are releasing those Gemini 4 models like the Neon model,
00:03:55: which was released a day ago or so, which really seem to be good,
00:03:59: not just in benchmarks, but also from what I've read
00:04:02: in day-to-day use.
00:04:04: And I'm trying to use it myself, but seemingly my account where I'm
00:04:08: paying for the top usage still shows up as free tier in Antigravity.
00:04:12: But yeah, Google tooling is a different thing. Anyways.
00:04:17: Google seemingly caught up, and now OpenAI seems to be the one behind.
00:04:22: But I mean, if there's one thing we've seen over the last years is that
00:04:25: this can change all the time. The only thing that seems pretty certain,
00:04:29: though probably also right now, is that Anthropic is ahead.
00:04:33: Maybe far ahead, but again, who knows? Suddenly things change again.
00:04:38: But one thing Anthropic seemingly got right is that they focused
00:04:43: on just having good large language models that excel at coding.
00:04:47: They didn't have any image generation or video generation models.
00:04:51: OpenAI did and does. They did launch this weird Sora
00:04:56: app
00:04:56: over a year ago. Google, of course,
00:04:59: has all kinds of AI models for image and video generation.
00:05:03: And it seems like just focusing on having models that are really good
00:05:06: at coding is the right strategy, because again, code is the answer to
00:05:11: everything, and ultimately everything that happens on your machine,
00:05:15: everything that is generated on your machine can be generated
00:05:18: by code because it is all just bits and bytes. And who knows?
00:05:22: Maybe in a not too distant future, we'll have AI models that do directly
00:05:27: spit out the bits and bytes you care about, so that don't even need to take
00:05:32: the extra route
00:05:34: through generating SVG to generate an illustration. Who knows? And I mean,
00:05:39: the rapid advancement there, I think,
00:05:41: you can't overlook that. The thumbnail on this video was generated by AI.
00:05:45: It's my face, but the rest was generated by AI and not by
00:05:49: using an image model. That's the point I'm getting to.
00:05:52: Instead, this is all just composed by a coding model.
00:05:55: It's all code. On our new platform, Infinite, Academind Infinite,
00:06:00: we have AI-generated explainers, videos if you want to call it like this.
00:06:06: And we have an entire page where we explain why we're doing that and then
00:06:10: how we're doing it. So full transparency. And the quality is amazing.
00:06:14: I mean, below you'll find a link. You can try the entire Effect
00:06:18: course for free by just signing up without paying anything,
00:06:21: because we want to show you how good that is, how good the quality is.
00:06:25: And that is something you can do through code.
00:06:30: Through top models, ultimately. Now, there are things to differentiate here.
00:06:36: There are two kinds of things you want to build with code. You have one-off
00:06:41: product.
00:06:42: So let's say like you want to create an image or a video.
00:06:46: And then you also have
00:06:50: software as a product. So software as a service or in general,
00:06:53: software as a product, a game you're building,
00:06:56: maybe downloadable software, anything like that.
00:07:00: And of course, to some degree, they also blend, right? So this is
00:07:04: not like there is no hard separation, but if something is one-off,
00:07:10: you tend to care less about how the AI got there.
00:07:14: Maybe you don't care about it at all.
00:07:16: If I just want to generate a quick illustration to post it on X,
00:07:20: I may not care if the AI wrote SVG code and generated the illustration
00:07:26: through that. If it directly drew the pixels, if it created a
00:07:31: website and used HTML and CSS, I just may not care about that.
00:07:37: Now I do start caring more once I plan on repeating that process
00:07:41: because then I want to be token efficient, I want to be fast.
00:07:46: Yeah, these are the two main things I may care about, then.
00:07:49: So that's what I mean. It blends because if software is the product,
00:07:55: or if I plan on repeating this one-off process so that it's not one-off,
00:07:59: then, of course, I care about the code to some degree.
00:08:04: Now, that does not mean that I'll write the code myself. I don't do that.
00:08:09: I'll let AI write all my code.
00:08:11: And it also does not mean that I read all the code. I don't do that either,
00:08:13: because AI is generating more code than I could ever read.
00:08:17: Instead, it means I want to set up AI for success
00:08:21: by giving it the right guardrails. For example, if I'm building a website,
00:08:25: I could do that by enforcing the usage of Effect,
00:08:28: because Effect is a really good guardrail for AI, the Effect library, and
00:08:32: that is that free course you can get where you can learn more about Effect.
00:08:36: So that would be one thing. And there are lots of tiny decisions like this.
00:08:40: I mean, I talked about this in my very last video on this channel, where I
00:08:44: talked about how our roles as developers are changing, and it's more about
00:08:48: making the right decisions under certain constraints and requirements.
00:08:52: This is the role we're transitioning into,
00:08:54: and that is extremely important because if something is not a one-off task,
00:08:59: we have to care about it being set up such that it's stable, that it's good,
00:09:05: that it's error free, that it provides a good experience to our users,
00:09:08: that it's token efficient, maybe, that it's cost efficient,
00:09:11: which is kind of related, and so on. There are a lot of things that matter.
00:09:15: So I care about how that software is built and how that
00:09:20: code is built by giving it the right instructions,
00:09:23: the right guardrails, the right testing and linting approach,
00:09:26: and by also ensuring that I get some deliverables, some output,
00:09:30: some reports with diagrams, and so on, that allow me to validate
00:09:35: what was built and if that's in line with what I wanted. And I'll have
00:09:38: more to share on how I do that soon, hopefully for free, by the way.
00:09:44: But yeah,
00:09:45: these are the two main categories, as I mentioned,
00:09:48: kind of blending to some degree, depending on what you're building.
00:09:51: But ultimately, code is the answer.
00:09:55: And the interesting thing is that it's, of course, always been the answer.
00:09:58: Like for the last 20, 30, 40 years, depending on how you look at it,
00:10:02: and depending on how long you've been active in that area. We developers,
00:10:07: we wrote code to solve all kinds of problems in the digital space.
00:10:13: And the limitation, of course, was our capabilities and our speed.
00:10:17: We typically didn't generate images by writing
00:10:22: code directly because that was not efficient.
00:10:25: Because we were not that good at building a complex illustration by
00:10:29: writing all the SVG code manually, for example. But AI, let's face it,
00:10:33: is better at writing code than most developers, certainly better than I am.
00:10:38: It's much faster. So, of course, that is shifting.
00:10:41: Hence our role is shifting. And of course, we can see that, as mentioned,
00:10:46: by all these models that are coming out by the top companies that
00:10:50: they focus on being very good at code, and that these AI models,
00:10:55: the top models, are shifting heavily to focus on just that.
00:10:58: And for us developers, as I mentioned in the last video,
00:11:01: it means that we'll shift into a new role where we set up the agent
00:11:06: for success and where we make the decisions based on the constraints
00:11:09: and the requirements we have in the space we're working on.
New comment