Foojay Podcast #106: Are We Still Writing Code? How AI Changes the Way Java Developers Work

Are we still writing code, or are we mostly reviewing it? For many developers the answer changed within a year: the editor is no longer the center of the universe, the chat or the agent session is.
At the JFall conference in the Netherlands I asked four developers how AI changes their way of working: Adam Bien, Maaike van Putten, Sayf Jawad and Stéphane Philippart. In this episode I play those interviews and discuss them with Anton Arhipov, developer advocate at JetBrains and my guest in episode 91 about 25 years of IntelliJ IDEA.
We talk about why the quality and structure of your code base still matter when an agent writes the code, and how guardrails such as the compiler, static analysis and ArchUnit keep it under control. We look at how fast an AI-generated proof of concept can, and should, go to production, and where the next senior developers will come from. Then we discuss the cost of AI for society, your wallet and the planet, and whether local models are the answer. We end with how to use parallel AI sessions in a sensible way, how to let the AI explain what it did so you keep learning, and where IDEs and developer workflows could be heading.
YouTube
Podcast Apps
You can listen and subscribe to the Foojay Podcast on:
- Spotify
- Apple Podcasts
- And most others…
Guests
- Anton Arhipov - Developer Advocate at JetBrains
- Adam Bien - Independent consultant, known for his Java shorts on YouTube
- Maaike van Putten - Tech educator, author and co-founder of Java District
- Sayf Jawad - Java developer, software architect and founding member of Stichting Duurzaam AI
- Stéphane Philippart - Developer Advocate at OVHcloud
Links
- Foojay Podcast #91: 25 Years of IntelliJ IDEA
- AI Rails by Adam Bien
- Stichting Duurzaam AI
- Java District
- Show US What You’re Proud Of: the Passion Project Contest
- Extreme Programming Explained: Embrace Change, by Kent Beck
Content
- 00:00 Introduction of the topic and main guest
- 00:54 What has changed most in workflows because of AI
- 03:04 The current “relationship” with code
- 04:45 Interview with Adam Bien
- 10:34 The importance of code quality and setting the guardrails
- 19:15 Interview with Maaike van Putten
- 26:04 How fast can we go from an AI Proof-of-concept to production
- 29:40 How to still start as a junior and continue to become a senior
- 31:10 Interview with Sayf Jawad
- 37:00 AI and sustainability
- 39:07 Use of AI tools will become more expensive. Or should we all use local models?
- 45:12 Interview with Stephane Philippart
- 49:05 How to use parallel AI sessions in a good way
- 51:22 Ask the AI to explain changes or other parts of the code to learn more
- 53:48 Career advice in AI times
- 56:10 Tips to get started with AI and how to (not) use it
- 58:13 Trying to predict the AI and IDE future…
- 01:04:38 Conclusions
Transcript
Automatically generated from the audio, so it can contain errors in names and technical terms. Suggest a correction.
[0:00] Are we still writing code or are we mostly reviewing it?
[0:04] Welcome to the Foojay podcast. All your news about OpenJDK.
[0:10] Welcome to another episode of the Foojay podcast. AI is changing how we build software and everybody has an opinion about it. At the JFall conference in the Netherlands, I asked four developers how it changes their way of working. And today I’m discussing their answers with Anton Arhipov from JetBrains. He was also my guest in episode 91 where we talked about 25 years of IntelliJ IDEA. Welcome to the podcast, Anton. So you have a first row ticket to see how AI is changing how we create applications, how we use code, and how we use tools like IDEs like IntelliJ for instance. What is the most remarkable change for you at this moment?
[0:59] I think the workflow has changed drastically if a couple of years ago, or let’s say 18 years ago, just some people would use the chat as a primary interface. It used to be like additional interface to the editor itself. Now the surface has changed. So instead of the editor being the center of the universe, now we have the chat or the session of the agent in front of you. And this is what we have also introduced in the latest release of IntelliJ IDEA with AI, the new set of products that we kind of built at JetBrains for agentic development.
[1:46] How did AI really change your job? When was the point that you said this is something breaking? This is completely new.
[1:56] Well, I was in that early camp. So when the weren’t great and when the agents were not so great either, I already was very enthusiastic about it. from different sides I’ve heard comments from people that, oh, this will never work. this is not professional to build software like this. I just saw that in a couple of days it’s going to happen. In a couple of days it’s going to be possible to know like not really in a couple of days, but like
[2:34] Yeah, very short term, yeah.
[2:36] Fairly short term and it actually accelerated, right? So, in the last year we had this Opus 4.5 moment
[2:46] Mhm.
[2:46] When a lot of people actually said, okay, this seems to be good enough. But I was there like a year year before that even. So, I was pretty sure it’s going to happen.
[2:59] Yeah. It it’s it’s remarkable how fast these things are changing. At this moment, are you writing more codes or reading more codes or reviewing or what is your relationship now with code?
[3:13] If I build something myself I actually this whole change, this whole transition is it was very good for me as a developer. I started building more than I used to because previously I because of my job I wasn’t able to actually build something end to end, complete and deployed somewhere. Usually it was some kind of a demo and you build a simple demo, you demonstrate a simple snippet of code with some library or framework or a tool and that’s it. It’s not like a complete project, right? But now when I have time I start building something that is functional end to end.
[4:02] Mhm.
[4:02] And the way I see it now, or the way I work, is I describe the functionality. I want to describe the constraints and the outcomes, what I want to get. And the agent is generating the code for me and now I can even steer it so that it validates the steps. It provides the evidence that it actually implemented the functionality and so on. Now the question comes definitely, okay, you have generated something, it works seemingly and there is an evidence, but how do you tell if the code is good?
[4:41] Yeah, the quality. yeah, and about quality of code, I have an interview with Adam Bien from JFall. so Adam is an independent consultant. He’s well known from the Java Shorts that he creates on YouTube where he very nicely explains core concepts of Java. what he actually told me is that he writes better code than ever before because the LLMs are faster and cheaper to use. So let’s jump to the interview first.
[5:10] My name is Adam Bien.
[5:12] What’s your role in the Java community?
[5:14] What’s my role in the Java community? I’m a developer still. I’m a freelancer. So freelancing role, an independent consultant.
[5:23] People may know you from the podcast. You do a lot of YouTube stuff with the short videos. why did you start those videos? They are so great. They really explain a little problem or a little challenge.
[5:36] At the very beginning a conference asked me for a promotional video and I was too lazy and I found the Shorts. Like this is great because 30 seconds and I’m done. Then I did the first short. It was a conference promotion, JDD conference by the way. And then I saw on Twitter like strange opinions about Java, you know, lots of code getters and setters and I say no one writes code like that. And my first short was like showing you know the right right way to a right way, a leaner or simpler way to do it. And since then my short-says is actually what you can achieve in 30 seconds. That’s all it’s just fun.
[6:09] So you’re a real Java coder? How are you looking at AI and how it’s influencing how you write code or how much code you write yourself?
[6:19] So what changes I can expect more quality with LLMs and AI and agents. So what I try to do is to write better code than ever before. And the reason being is what means good or better code? What better good means to the point and with the entire domain knowledge in the code base. This is the idea. And if you do this, it is very fast with LLMs. You can save inference costs and it’s also understood by developers very well. So even if the LLMs go away, you have still a great code base.
[6:53] Isn’t this is this a way of working because a lot of people ask AI generate me this. They don’t look at the codes. I guess that’s not the best approach.
[7:04] I would say even with this I would say extreme approach where we care a lot about quality, we are still faster than the business department and test department. So in most projects right now we think we how we can more efficiently work with the business people. So I would say in larger projects in an enterprise you have to spend more time with the quality. If you don’t do this, you will hit a wall and then it will take longer and longer to implement even trivial stuff. And it also gets to more expensive and more expensive. So this is how I do this and I’m I’m also prompting but the prompts are very short and the code structure and architecture comes from the LLM knowledge because LLM have a deep knowledge about Java best practices.
[7:50] That’s the trick.
[7:51] Is that the advantage of Java? It’s so old. It’s so well known. It’s so well documented. So these models are trained, okay?
[7:59] So what I did today at a JFall talk, it was maybe it was recorded. I ask the built-in Apple FM model which ships with macOS and Gemma two billion parameter model about Java and Java platform like in Jakarta restful services and dependency injection and architecture and they knew it. And the reason being is not because Java is old but because the Java documentation and specification is open and highly structured. So this was the entire trick and therefore LLMs learned the entire knowledge about Java and you can be very efficient with if you use such platforms.
[8:40] Is this a trick I can use in my own project if I document my project better will an LLM be able to handle it better?
[8:48] I have a website is called airails.dev and the cool story is one skill is called Java CLI script. So you can write executable Java 25 scripts to help your automation and they are nicely structured inside. They have the same architecture as a big application. So and I have maybe on my machine hundreds of such scripts which do various tasks from you know reformatting decoding, encoding, indexing, note taking so you can absolutely do this in your leisure.
[9:22] Thank you for those scripts. You’re one of those people who make amazing stuff for free. Why do you do this?
[9:30] Why not? I mean it is for me easier to remember to push as much as I can to GitHub because then I’m forced to document it a little bit more and I remember this. I have so much forgotten stuff on my machine so I think it is more efficient to share it and why not? I mean there is no downside to do that I would say.
[9:53] What did you learn yourself from the conference like this today?
[9:57] I got lots of questions from the attendees and what I learned is how to explain it better actually exactly our conversation right now because it is actually obvious but hard to explain it. And if you tell this someone, no one will believe you that Java can be that efficient. You have to see this. So and I have lots of, you know, whole conversations about that topic. And because I get so many questions, I was not able to attend another session. That that’s the problem. Usually in such great conference, I spend the entire time in sessions. But today no. I was just, you know, approached by attendees and they asked me questions. So this which is good actually.
[10:34] Okay. Maybe the most important part here to remember is quality of code. So it is important that you have a well structured application code base and that’s still the responsibility of the developer, right?
[10:50] The structure point is to the point, I would say. It really is. But when you start a new project, you kind of want to make sure that the structure is there so it doesn’t it doesn’t just drift somewhere. So you want to keep it under the control. If you are working on a brownfield project, the structure is going to affect how the LLM works and how the agent and how the harness are working in that code base as well. I would say that previously this has been an issue that if you just tell the agent to do something with previous LLM models, then it was hard to keep the structure. And the knowledge about Java didn’t help too much. But the recent LLMs, let’s say from starting from the last year, they are very good in keeping the structure and they don’t really need a lot of helping to add new features and not to drift away. But setting the guard rails, I think, is still a practice. Like using using tools like Arch Unit for instance to validate that and force those rules not not just to put down the guidelines about the structure and the best practices, but
[12:29] Also enforcing them. So and it comes from different places in the projects, right? So we can start with the compiler so that the compiler gives you the warnings, the errors, additional static analysis tools that also can provide the feedback to the LLM that the code wasn’t great or tools like Arch Unit that will keep the structure in place and will force the agent to keep it. it’s it’s like it’s like additional discipline now like developing a harness for the agents in a specific technology stack.
[13:16] Yeah. I found myself in a pet project personal thing. You’re tempted to add features because it becomes so easy. And actually what I now do from time to time is take a step back and ask also to my AI with all the latest changes that we have done, are we still in a good structure? Is the architecture still still okay? And then I yeah, it found out that I actually did a few mistakes myself.
[13:44] I can add a few anecdotes about this code quality what I have recently encountered. So one of them is just a micro example. I had a code that was generated using Java records and inside one Java record there was additional method for validating the parameters like when we create the record and then we call the validate method and it on the first statement in that validate method which was working with time zones like dates and times. the very first statement was zone ID dot of and then the value, the name of the time zone. And the result of that statement invocation was not assigned into a variable. So the static analysis inside IntelliJ Idea and in fact it was the LSP so because I had VS Code open actually and there was the LSP by IntelliJ Idea operating it highlighted the statement that this statement result is not assigned to a variable. And I thought like but why?
[14:57] Why does it need to be there? So I wouldn’t I wouldn’t notice that if I just looked at the code without the additional highlight. So the highlight which drew my attention was like that’s that’s flag for me. And then I the decided to dive deeper what’s inside that call like zone ID dot of, right? And zone ID dot of throws two kinds of runtime exceptions which are technical like parsing fails or something else. And inside business validation it’s it’s seemingly kind of a strange way to fail the validation without actually explaining what’s wrong. So it’s rather like a smart implicit code if someone would write it this way, but I wouldn’t write it this way. I would wrap it into a try catch and then rethrow with some business business level explanation.
[16:10] Another example that I have is I’m I’m working with like scheduling applications right now like it’s my new passion, creating schedules. And because like it’s hard to start building everything for a scheduling application, the data layer and everything, I usually start small. I try to figure out what the domain model will be, but before I do that, I actually want to explore and keep the schema dynamic. So I use just JSON
[16:45] Mhm.
[16:46] And parsing those objects. And this is the way I instruct the LLM and the agent as well, like here’s the JSON I want to parse and parse it into the structure. The structure you generate it yourself how you need it and then feed it into a scheduling solver engine. And the parsing code when the agent generates that, if you look at how it’s generated and look at the structure, that’s a spaghetti code like in our normal human judgment, let’s say, it puts quite a few statements on the same line. So literally when you look at the code in the editor, it’s like a matrix. It’s it’s like obfuscated code, but it’s really let’s say contained within one screen. So as if someone wrote like 200 lines but wanted it to fit on a single screen still, which is like 25 lines.
[17:53] So it’s cryptic, but it’s still isolated and it’s tested.
[17:59] Mhm.
[17:59] So like this is like the trade-off in the quality or understanding of the quality. The code is ugly, but it works and it’s tested. And it’s kind of a throwaway code as well because I’m going to replace it on the next step when I’m actually building the data layer. So should I be concerned? If I wrote this myself, I would actually break it into separate functions, make sure that I can read and maintain it. Even if it’s a throwaway, I will throw it away, but I will still write it in a different way. because maybe along the way I will have to edit it myself for prototyping and I want it to be easy. But this is just because I’m slow. Like if I do it manually, it will take me a day or two or three to prototype and see the results. But with agents, it’s just much the time life the lifetime I’m life Sorry, it’s the morning.
[19:05] The lifetime of the of this code is much shorter and therefore it’s not so critical anymore.
[19:13] Yeah, yeah. That’s indeed some something which came back in the interviews is with AI you can build something very fast. Will it survive or will not? Is it just a proof of concept? Is it something you build for yourself? also impacting yeah, what you explain are quite complex problems, so senior level, how does someone still grow from junior to senior? And those are a few topics which I spoke about with Maaike van Putten. she’s a trainer and co-founder of Java Districts, a Dutch organisation. And she indeed worries about where we are heading to the difference between juniors and seniors and how you grow into knowing all these things. let’s listen to her first.
[19:57] Well, I have quite a long relationship with Java already. I started programming Java when I was 17, which is more than half my life already. And I’ve worked for several companies as Java developer for quite some years and then I made the switch to tech education. And then in the beginning, I was doing part-time Java projects. But at this moment in the market, there are no things part-time Java projects. So I’m mostly teaching Java, staying up to date to a tee updates and hearing about it and also doing some debugging or some fun troubleshooting now and then. But I don’t have my own project at this point. So I’m mostly a enthusiast enthusiast about the Java ecosystem.
[20:40] And you researched a bit about how developers now work with AI and how they feel about this?
[20:47] Yes, absolutely. And I do work as a developer, just not so much Java anymore. But yes, and there’s big changes obviously as everyone knows. So we sort of changed from being the person that, you know, did the problem solving. Now we’re doing problem setting more and we’re giving AI the instructions, which changed the very fun part of the job that we got to like write code ourselves, which felt sometimes like solving puzzles. And now we’re checking if the AI solved the puzzle correctly, which is a pretty major shift. And well, I mean, it has quite some implications. Like what we need to know is more we need to know more in order to be able to do this, which is difficult for juniors. And what I see all around me is sort of like you have two types of people. You have the output driven people that are super happy about this.
[21:34] And then you have the coding fanatic people who are a little bit sad about not getting to solve these puzzles anymore. And I’m both. And so I’m a little bit sad on the one end. And then I’m also really happy about all the cool things that I can create now with AI that I would never have the time for well prior to AI.
[21:53] You have a leaflet here, so you’re trying to help people to promote their work?
[21:58] Yes, yes. So with Java Districts, which is company founded by Jasper and me, we saw this drop in passion and we are just in general trying to empower the dev community. But this drop in passion that’s well, I mean, it stings a little bit and we just thought it would be fun to reignite the passion in people. And that’s why we started the passion project contest and we’re inviting everybody to share their passion projects with us, which can be anything. I talked to so many developers from my training perspective as well. And then Jasper from a recruitment perspective and really cool projects are sometimes happening after work. So and the craziest projects out there, like things to support their community, like maybe sports they’re doing. I also spoke to a developer once who had this whole software application for a turtle breeding in place. So there’s so many fun and cool projects around and we love to hear those and we love to share these stories of other developers to hopefully reignite a spark for well how beautiful our craft actually is.
[22:59] And actually AI can help someone with a good idea to build a prototype or something new from scratch much faster than before.
[23:07] Yeah, like the threshold for a good idea is now lower because the investment to create it is lower as well. And then that doesn’t mean of course that it’s equally safe and equally good, but some ideas they don’t need to be super good. For example, I have a kid and he has issues studying for things because he thinks they’re boring. And then I created some apps that involve lots of Pokémon and lots of gamification and then they happen to also involve exactly his homework and I can do that in 20 minutes or less. [snorts] And then he actually really likes this. He’s like, but I wish the app looked like such and so. Like hold on. And then we go prompt together and it’s like tada, now it’s working. And then of course the if I go look at the structure and there’s there’s there’s room for improvement, but that’s like an output driven kind of project. That’s not necessary because it’s I’m only running it locally on you know his his app.
[23:56] So it’s okay, but then of course if you want to go do something bigger, such as we also made Java District which partly AI obviously, well there the quality the bar is so much higher. It’s like cannot be compared. And then you don’t go as fast as you would go for like a passion project of course. So yeah, the threshold for a good idea is lower. Then again, if you want to do something like professionally, I don’t think that bar changed a lot to be honest.
[24:22] There was a bit frightening that coding would disappear, but actually what I see is that a lot more code is generated these days. And we as good developers are there to guard all these developments.
[24:37] Yeah, I think to some extent and then I also think of t-shirts when you’re saying this because in the past we would all make our own clothes, right? And less clothing was fabricated which arguably was better. But then there was more like quality and more conscious choice of fabrics and you know more consciousness. And then I do see this with code a little bit as well. So yeah, we’re generating more code. I would not say that’s definitely a good thing per se because code is also a little bit of a liability of course and we need to maintain all that. So yeah, there’s a lot more code generated. There’s a lot more options for creating things but creating something good is still a lot of work and we still need to be able to code to check the code.
[25:17] [snorts] But then again at the same time it’s it’s very different now that we are just like checking the code and checking the output and my major concern is where do the new seniors come from? Because it’s very hard to be a junior now because you it is so much more expected from you than it was a few years ago.
[25:34] Is that one of the biggest challenges now? New people arriving from school or switching industry to get into coding and finding a job?
[25:43] I think I’m not sure but I heard this recently that there’s actually a drop in people that sign up for educational programs like computer science because they expect there will be no jobs. And I don’t think there will be no jobs. I think there will be plenty of jobs but there may be a different ask from juniors than traditionally. [snorts] So it will definitely change, yes.
[26:04] Okay, two topics from this interview. First is yeah, output driven. We can spit out code as fast as we want so we can build the POC in 20 minutes. How fast do you go from an AI generated example to production?
[26:21] Okay, the apps I have deployed I think not not 20 minutes definitely not. Maybe it’s it depends on the size, like it depends what the person was doing. Of course, there are examples that could be deployed in 10 minutes, but it’s not something that I’m interested in. Okay, so if we just generate something in whatever time frame, half an hour or a week doesn’t matter. If we don’t look at the code and we just validate that something is possible to implement and either we are validating the workflow that will be in part of that final product or a new user experience or just a technical feasibility and just deploying it and seeing it working and this is all we have done, probably it won’t help much without the curiosity to look under the hood and validate a few points that you are interested in, either the technical capability of the implementation, the architecture, maybe something else. I’m not saying that we should be validating all the lines of code and reading all the statements and looking at the I don’t know, at the code so that it follows the clean code principles.
[27:49] Definitely not, but I’m I’m always curious about my projects how this thing actually works.
[28:00] So we need to stay stay curious. We need to want to understand what’s happening inside our application.
[28:06] This remind me of one very old book written by Kent Beck in 1999 the Extreme Programming Explained. While it was explaining the method, how to work and a lot of the disciplines that were technical, like writing unit tests or following the CI and so on, there was one point that very similar to what we have with the AI right now is passion.
[28:37] Mhm.
[28:37] So you need to have a passion and you need to have respect for the project that you are working on, otherwise it just will not work. So and it’s the same here when you use the AI, like we need to have the passion and curiosity to look under the hood, not just building something that is final because building the first version is the easiest step. Adding more functionality to it, keeping it secure, keeping it maintainable is what like this is where the value is for the final users. In and it doesn’t mean that we have to do stuff manually. Okay, if everybody will be building the software factories next next year, the discipline of keeping the stability of the codebase doesn’t go away.
[29:32] Mhm.
[29:32] It just doesn’t it may change how we do that but the goal of keeping it stable is going to stay.
[29:41] Yeah. And is the passion also the thing that can help people still move from junior to senior because that’s the next thing, huh? A lot of junior roles get yeah deprecated because AI can do a lot of those. [clears throat] But still yeah, we need fresh blood, we need extra colleagues, we need new new team members. How do you grow into very complex applications if most of it is now handled by AI?
[30:11] Mhm. Well, again it’s probably comes from the curiosity and passion
[30:16] Mhm.
[30:17] And it should be a mix of being passionate about like building something, building the final result and like be curious about the technical side of the things. how do you develop that? I don’t know. Maybe this is part of not just the final education stage, but the whole society and building like raising up kids from I don’t know from the age of from the kindergarten basically.
[30:48] Are they interested in tech? Are they interested in how what happens when they push the screen or like the button on the screen of their phone like what is happening there?
[30:59] Do they want to build their own button?
[31:03] [laughter]
[31:04] And understand how to create that button and attach an action to it. Yeah. yeah which brings us almost perfectly into the third interview and that’s with Saif Jawad. He has a foundation in the Netherlands Stichting Duzaam AI so sustainable AI where he has a bit yeah the same doubts. How do we keep people interested in things like this? How do we give it access to people who cannot afford those expensive models sometimes? So maybe we should first listen to his interview.
[31:40] My name is Saif Jawad. I am a Java developer, software architect and a the founder founding member and the founder of sustainable AI foundation, but it’s actually in Dutch so it’s That’s where you can find our website and our mission.
[32:01] And what is the mission? What’s so important with AI that you want to promote?
[32:06] So the thing is we see opportunities and risks and the our focus is not so much the sustainable part of energy, but more the society and its effect on our communities and I recognized like three years ago okay this could be very disruptive and we need to do this in a responsible way. So AI equality who’s going to get access? Is this going to be defining who is more successful than others in our communities and societies. That’s a risk. But also how to use it responsibly. Everybody knows that a lot of movies are being created of dancing cats and very pretty AI generated creations. But we know that this is also affecting the power grid. So how to do that responsibly? And a lot of people are just using it too easily with very sensitive information. This affects us our security basically. And so these are things that we would like to promote the awareness about and help people get over the threshold of understanding what this and using it and to help others basically. It’s a non-profit.
[33:24] So let’s start with the price. So we know we can generate cat movies because it’s very cheap to do this. You can do this for free. But this will change probably.
[33:36] Well the thing is the thing is we as humans like to do things that we like to do. And if it’s generating dancing cats or if it’s like helping you find out a research about something new and then finding out the information that you need, these are two very different things. And I know entertainment is important, but I would love to see how much that would really be translated in real cost. For example, if I generate this movie, how much electricity did I burn? How much water did I use? Fresh water that could be used for something else. I don’t say don’t use it. I’m just saying being aware of its impact on our environment would help us humans maybe be more thoughtful about how what how we use it.
[34:25] It’s I think that’s the important part.
[34:27] And because this is a new technology, it’s promoted a lot and it’s given for free. But these companies will start charging money for it soon, I think. Will people lose access to it? Will they stay be able to do the kind of work they want to do with it?
[34:42] That that’s actually the point that we were afraid of. And we know this because if we don’t have and we don’t cultivate our own technology in Europe and we don’t have control over its pricing or its access, then that’s a geopolitical risk as well. And I don’t believe for a second that we do not have the smart talented people because we do. We have them. We just need to give them more attention and the opportunity. And again, that’s something we’d like to promote. We know we can do this. I can do this. You can do this. Anybody can. And so yeah, give it some place in our minds and thoughts and society.
[35:21] Yeah.
[35:21] So it’s not only costs, it’s also what does it cost our planet to do all this?
[35:27] Yeah, it’s a it’s a bit of a difficult discussion as well because to be honest, I cannot pay the prices that are needed to buy the new hardware. And I rethought of what is now sustainable. So I have very expensive second-hand equipment coming in from China and UK and that I put together myself like old V100 server grade GPUs specifically for AI that I could get cheaply to enable this kind of movement. But I do think that if you know that new hardware will cost you €6,000 for something that otherwise would cost you €500. So you can translate this also to like electricity. Okay. [laughter] How much electricity can I buy with that money? And over what kind of period of time? And can I share this with others?
[36:21] Distributed computing. So we need to find solutions before the risk arrives so we can be prepared not to have the all the risks that I’m trying to highlight. But actually, if we start early with using it properly and efficiently, then we could get a head start in the world by doing good. So in a new technology, our own cultivating talent that these are things that will make our society in terms more sustainable and more competitive with other parts of the world.
[37:00] Okay, sustainability, a very sensitive topic.
[37:03] There are a lot of topics there, eh? [laughter] Like yeah, only one thing I didn’t think of myself is yeah, everything you put into these chats is also somehow stored, probably used to train the model again. So like like your secrets is not something you should put in a chat. So sustainability already starts with what you ask to a system, right?
[37:29] So I just want to say that there are so many aspects to the to this topic that was mentioned right now. It’s not just [clears throat] sustainability, it’s also geopolitics, it ’s also economy, it’s also security. And the sad part is that whatever we are trying to do to make it sustainable will be actually dependent on first of all politics
[37:52] Mhm.
[37:53] And secondly the economy.
[37:55] Mhm.
[37:56] [clears throat]
[37:56] And if you look at what is happening right now and what has been happening for three years now is that we have our we have our free lunch and it’s getting more expensive. And whenever something is free, it means that the product is you. And if you are generating the cat videos, you are doing the free work for the labs that produce those cat videos including what you put in the prompts, including what the whatever secure information you add into those chat windows and so on. Whatever you provide like from your own machine maybe additional context and you are not always in the control what actually goes there because it’s the automation that may scan your computer and from there you have all kind of interesting consequences, challenges, how to secure it and so on. So we have this security topic right there.
[39:01] So I don’t even know where to go with this one.
[39:06] But there’s also the one thing about price. So for now these tools are rather cheap aren’t we not tricked into adopting all these new technologies and at some point we will have to pay the real price for it.
[39:23] Well I remember when we launched the first version of AI assistant and the price was $20 a month and people were kind of furious and hesitant that they don’t want to pay for one thing $20 for the other thing $20 and so on. And this is what the majority people just do without even thinking today. And the new norm has been having two subscriptions for $200 a month. And it’s just like normal thing. And the real price is much higher than that. Like if you start like calculating how much compute you’re actually getting for this money it’s much higher. So where is the trap? Like do are we afraid that by paying this little money and getting addicted to the technology and addicted to the degree where we can’t live without it and someone raises the price and we will have to pay for that because we cannot live without that that’s probably a scenario as well but maybe maybe it will take too long for this to happen.
[40:44] So what I see the trend has been lately for a couple of last releases of the new models, they were getting cheaper on inference.
[40:55] Yeah.
[40:55] And there’s definitely research as well. Like one of the researches is like what I’m waiting for is if the inference could be down without multiplying the matrices.
[41:06] Mhm.
[41:07] If this happens, it means we don’t need the expensive GPUs and we could do inference on the CPUs and this suddenly changes the whole economy of the LLMs, right?
[41:18] Yeah. Are local LLMs already changing this a bit because you can now get a lot of models for free as open source and run them on your own machine? Is this something you see used a lot by people or are people still using APIs to do this?
[41:34] I around me I see signals of people like we have seen Adam Bean right mentioning those little models.
[41:47] Mhm.
[41:47] All my experiments with open weight models haven’t been great.
[41:52] Mhm.
[41:53] I couldn’t generate the output that I would aim for with them, but maybe if you do like small tasks, really small tasks, like do this and do that and do it in a very controlled way, then you can get a good enough results. And given that like it’s it’s a common saying or like people people just say that the open weight models are behind about six months, eight months from the frontier models, if that’s true, then the open weight models should be at the level of frontier models from this year. And basically it means they should be good enough to actually do the work. Now the question is like where do we put those models? Like they definitely are not our machines, our just usual consumer machines are not so capable of running them, right? So if people start building the small computing centers at their homes there goes this electricity question like how much electricity do you need and how expensive it is and can you get a quality output and then in many cases you would arrive to the conclusion that you it’s it’s just cheaper for now to pay for the APIs, right?
[43:29] And this is where this whole economy circle goes around like the APIs are raising the prices. It’s now cheaper to do something locally. Electricity goes up, electricity bill bills go up and you go back to the frontier models and paying for the APIs. so I don’t know we are going in circles here.
[43:53] Yeah. But if you are responsible for a solution which needs AI but sustainable you need to keep the data away from the cloud some private data then a local model could be a perfect solution probably for you.
[44:10] Mhm.
[44:11] Yeah.
[44:11] Yeah, it’s something to investigate and
[44:13] Well I see a lot of reports big companies building their own hosted clusters of for models. Spotify reported that I think was it Shopify as well. it would be interesting to read about their experience in a year from now
[44:34] Mhm.
[44:34] How did it actually turned out like is it still sustainable and so on because currently the all report that they saved a lot of money by building this but maybe it’s too early to say.
[44:49] Yeah yeah because
[44:51] It needs some runtime.
[44:53] Yeah. And if you build it on your
[44:54] Own system, then yeah, you need cooling, you need electricity, so you’re probably just moving the cost.
[45:00] Of the hardware. They like some people are very naive in thinking that hardware doesn’t need maintenance. It does.
[45:07] [gasps]
[45:08] Yep, and it can break and it only has a limited lifetime. Okay. I have one more interview with Stéphane Philippart. He’s a developer advocate at OVH Cloud, an experienced Java developer. So he works at the cloud provider. He can probably tell us more about how we can run our models on their cloud. But what I actually learned most from it is that he moved back from doing multiple tasks at the same time towards focusing on one task because yeah, I do the same mistake. I start 10 chats and then forget that I was asked something. So let’s listen to his interview first.
[45:47] I’m Stéphane Philippart and I am an old Java developer for 20 25 years.
[45:53] Okay.
[45:53] And you work for OVH Cloud, a French cloud provider.
[45:56] Okay. What do you do with Java at OVH?
[46:01] Mainly I do a lot of demo. I am a developer advocate on the AI field and I use Quarkus and Chain Forge to explain to other people how to use AI but in a developer view, not just a consumer. So I create a lot of demo, a lot of application, blog post, video and so on to illustrate how it’s very simple to use our AI endpoint AI product with Java.
[46:28] AI, the magic word. How does it change how you work as a developer nowadays?
[46:35] Oh, it’s a complicated story because at the beginning I didn’t want to use AI because I am an developer in my mind and I want to continue to use my finger to create my code. But now is half half like a lot of people, I use generative AI to generate my code, but I’m still review my code, update it with my own tips. But honestly, it changes mainly the amount of code I can generate. But as I said, I am I’m creating a lot of demo, so it’s a specific usage. But yeah, it’s quicker for everything.
[47:25] As an experienced coder, you’re ready doing this for a long time. Is that a bit the pain that you’re feeling that you’re losing putting your hands on the code?
[47:36] Yeah, totally. And I now I try to take my time. I never open several session. I focus on one session to understand what AI generates like XP programming or peer programming. AI is more my coworker, and I ask it to explain what it generates. So now I’m more peaceful with that because few months ago I done in a hole like Alice, and I opened 10 session in parallel and generate a lot of stuff, but it’s not the way I want. So now I keep my time to understand, to learn again because for me the danger with AI is to learn nothing because you just hit a button and at the end push to production. So now I try to do this.
[48:35] So that’s a bit the message. Use AI in a good way to become a better developer yourself or a better builder.
[48:41] Yeah, yeah, it it’s a goal. But because I have 20 years of development before, what I don’t know is for the new generation how they can learn if they don’t practice before. So it’s a real challenge for me.
[49:00] But the same question, how do you go from junior to senior by using these tools? how many parallel sessions do you have open mostly?
[49:09] Two, three max. Mostly I didn’t go all in on this parallel and high high parallel sessions. And mostly because I just forget what was in the previous session and I need to switch my context too much and I quickly recognize that I’m not too good at that. So, maybe those people who can multitask and multi switch can do that better. But if you already have this issue with parallel sessions that you want to run so many of them, it’s not just the right thing to check them. This is the direct step into software factories and the full automation mode and just checking the outputs, the results. The way I work is mostly like one project, maybe two parallel sessions, but they are four the different things, completely different things.
[50:20] And the third one probably will be running in the terminal doing entirely something else, not working in the same project even, but even even not for coding. Or maybe it will be prototyping, maybe it will be automating some some work that I need to do research and so on. And the nature of my work because I do a lot of videos, probably most likely it will be rendering and editing the videos for me so that I could, you know, check and not not do it manually myself because otherwise it’s either very synchronous activity. I have to do it manually with the mouse and inside the video editor, or it can just go and you know compute something for an hour and come back with the final video file for me. So two sessions at most.
[51:21] Yeah. What else to find which is a good tip from Stefan is actually if if the AI agent has done changes in your code is asked to explain what it changed, why it changed, how it relates to other things. Do you use AI a lot to learn more about an application?
[51:42] Oh, yes. So while building I’m not just letting the agent to generate the code and then rely on my own understanding and reading of the code. I would rather instruct it. I have developed my own agent skills that only work for me. So I’m not really sharing them. While the agent is doing the work, it also prepares the evidence of the work it did so that I actually can come and look at the report and it will explain what micro decision it took. If it’s a web application, there will be screenshots of what it has produced and explanation why it happened because the cycle takes a few hours and mostly I do this planning work and design work at the daytime and the agent is spinning its circles at the nighttime and in the morning I’m checking this work and reading this final report.
[52:55] And then if I see something interesting when I’m reading this report, I I’m trying to think how it’s implemented internally. And if there’s something that really catches my attention, I then I drill deeper and go for the implementation details. Again, this is about curiosity, how curious you are in that very moment or how critical it is as well. So there are two different goals being the student, like in your mind that you want to learn about something, how it’s implemented, or if you have stakes in the game. If it’s so critical, like for instance, your application talks to payment provider, how this payment is submitted. Is it securely
[53:45] Yeah.
[53:46] Packaged, whatever.
[53:47] Yeah. Now imagine you were hiring people for Jet Brains. What would you advise juniors for the next year? What should they focus on? What should they learn? How should they use AI?
[54:03] I would say that the maybe maybe not specifically for Jet Brains, but in general. Jet Brains is too specific. Try building something that is real and see how it’s implemented. So previously we were writing the algorithms, right? I don’t know, bubble sort or quick sort or some search algorithms, maybe some more advanced algorithms. But try implementing something like object tracking application through the camera which solves like a real life problem and then see how it’s decomposed. So ask the agent to decompose this problem for you and reason about the result, like what’s what libraries are used, how what are the alternatives, what are the tradeoffs we just made. So for instance, if you are tracking, if you’re building a tracking application, like human tracking, pose detection, there are different models and they have trade-offs.
[55:19] Mhm.
[55:19] And learn why one one model, one neural network model was selected over another one.
[55:29] Mhm.
[55:29] Learning about trade-offs in the implementation is probably what will make you a better developer
[55:36] Yeah.
[55:36] In the future. So because you have to take the decisions even with the agents still.
[55:41] Yeah.
[55:42] The thinking part can be automated by the LLM, but the decisions is what we own.
[55:47] Yeah. Yeah. And that’s actually indeed where you can learn by asking AI and then searching together after how can we solve this? What would be I think a lot of people are using now AI tools to generate codes, but actually they could learn a lot more if they go into some kind of interaction with it.
[56:06] That’s for sure.
[56:07] Mhm. Okay. we are doing a lot with AI already. We’re using it in any kind of all kinds of jobs that we do, but still a lot of companies are a bit hesitating about the AI use. Some people don’t like the idea of using AI. What’s the advice that you give people who are taking their first steps into AI?
[56:33] Well, I think you should be a little open in your mind because for many things AI can actually make your life easier. this is a point when I’m having discussions with my son.
[56:55] Mhm.
[56:55] He’s 19 and he’s teaching learning learning at studying studying robots at the college and professor told him not to use the AI all. And he’s very let’s say conforming yeah man. So like yes someone told it’s bad then it’s always bad. But dude you have time constraints and they there is this task okay if you just let the AI do it and don’t read the output don’t study the output then yes it’s a problem. That’s what the professor is trying to tell you. Don’t blindly trust whatever was generated and even it’s like from one side it’s a trust issue from the other side is specifically with the students is that you are not learning them. Read process rephrase restructure whatever the output was and this will be this learning step.
[58:07] Don’t copy and then it will not be a problem anymore.
[58:13] Things moved very fast. Two years ago we could not have imagined what we do today with AI. Do you dare to predict the next year or years? Will we still use IDEs? Will we all go back to terminal? Will we have just I just learned that you can now ask through WhatsApp to LLM models to do something and they start instructing all kind of tools. Where will we be next year or three years?
[58:42] There is one I think I have seen some years ago some kind of a sci-fi cartoon where the hero inside that cartoon interacting with the computer and they are typing on the keyboard but this is something like hey computer start the engines. Computer rotate the engines 45 degrees. The direction is northeast whatever like but they are operating with those terms. What exactly needs to be done even though they are not really writing a program right or operating the computer in a sense of a developer. It’s more like a little bit different interaction there. this is one one probable future when we start interacting with computers but we need to know the terms.
[59:45] Mhm.
[59:46] The other probable future which is more realistic I think is that we are still like producing the software in kind of the way we used to do that as previously but just the tools are changing and the IDs are changing and this is exactly what is happening right now. So we like in on a scale of one year we moved from the surface that was the editor we moved to the chats and now we are finding out the new workflows. At JetBrains we are working with that as well like we are discovering and we are doing the research on how what is the next step. So I give you a micro example for instance I’ve been generating a simple demo application which was a seemingly a demo which had just a web interface and because I didn’t look at the code I opened it in WebStorm which is our web ID for JavaScript and TypeScript but there was also a backend and the backend was actually implemented in Python and I was curious how what is this backend doing. It was [clears throat] splitting the MP3 files into individual instruments like drums, keys, bass and so on and it used Python to start a small neural network to
[1:01:21] Split this musical file into into the instruments. And when I opened it in WebStorm, I saw the Python code and I wanted to navigate through the invocations like to discover where this exact place is and there wasn’t language support for Python. So I couldn’t navigate. I could only read the code, but I couldn’t navigate. So that was an instant painful moment that I couldn’t navigate. So even if we if we generate code in the chat in the agent session and then we somehow work with the code, interact with it, there are certain let’s say actions and tools that we need in order to work with that. And because now the entry point changes, also the workflow changes, how we do it and what is exactly important. So maybe yeah one one important thing is that what’s the goal?
[1:02:26] Why we are looking at the code? If the code is perfect and is never and we never have to read that, what are those important parts we still have to do in order to ship the software? So I wasn’t interested in looking at the code until I actually wanted to deploy it. Run the language the selection of the language matters because the runtime matters, the runtime matters because I cannot just deploy it everywhere. I have to make sure that the infrastructure is there in place for the runtime. And at that moment I’m starting to validate the solution. Validating the solution. Yeah it’s the same for me. I most of my work now in the terminal, but it’s the terminal inside IntelliJ because I do documentation which is in AsciiDoc, which is nicely visualized in my IDE and I can see the difference.
[1:03:32] I can do the Git commits and all that from one tool. I’m a UI guy. I’ve never used terminals really before and then now I’m back to indeed using terminals. But having an IDE where you indeed see what’s happening and if I do something in Java code that I can see that it compiles and where the errors are and where I can click from one method to another. So yeah, tools will need to evolve but it’s it’s yeah, they are still there definitely at this point.
[1:04:03] The tools are evolving is just everything around the tools are changing faster and it feels that the tools are outdating as well. But I can assure you that JetBrains we know that, we feel that and we want to change it as well. So there is an evolution like with Air that we have shipped right now and there will be more steps as we figure out the new workflows.
[1:04:32] And yeah, that’s definitely a challenge for you to keep up with all the evolutions. Okay, we are over the hour so let’s finish. Thank you for all the insights so and thank you for sharing the background info of what’s happening in Okay, that’s a wrap for this episode of the Foojay podcast. Thank you Anton for sharing your view. Thank you also to Adam, Michael, Saif and Stefan for taking the time to talk with me at Jfô. If you remember one thing, use AI to become a better developer and not to stop being one. Review what you ship, keep learning and help the next generation to learn too. If you enjoyed this episode, subscribe on YouTube or in your favorite podcast app and share it with a colleague who is figuring out the same thing. See you in the next episode.
[1:05:21] Thanks for listening.
[1:05:22] Give me a foo, give me a ja, give me the friends of OpenJDK.
Found a mistake, or something to add? Edit this page on GitHub













