Learning Library

← Back to Library

Engineers Harness LLMs for Coding

Key Points

  • Engineers are leveraging LLMs to instantly comprehend API schemas and endpoint behavior without manually consulting documentation.
  • LLMs can automatically diff code versions, highlighting changed lines and often explaining the underlying functionality.
  • Large code‑base maintenance tasks such as trimming unnecessary code and refactoring thousands of lines are being delegated to LLMs for efficiency gains.
  • Routine but undesirable activities like writing documentation or generating boiler‑plate code are offloaded to LLMs, freeing developers to focus on higher‑value problems.
  • The overarching theme is that LLMs serve as a cognitive aid, handling boring or cognitively demanding steps so engineers can concentrate on creative and complex aspects of software development.

Full Transcript

# Engineers Harness LLMs for Coding **Source:** [https://www.youtube.com/watch?v=juG3FUPyrVQ](https://www.youtube.com/watch?v=juG3FUPyrVQ) **Duration:** 00:09:09 ## Summary - Engineers are leveraging LLMs to instantly comprehend API schemas and endpoint behavior without manually consulting documentation. - LLMs can automatically diff code versions, highlighting changed lines and often explaining the underlying functionality. - Large code‑base maintenance tasks such as trimming unnecessary code and refactoring thousands of lines are being delegated to LLMs for efficiency gains. - Routine but undesirable activities like writing documentation or generating boiler‑plate code are offloaded to LLMs, freeing developers to focus on higher‑value problems. - The overarching theme is that LLMs serve as a cognitive aid, handling boring or cognitively demanding steps so engineers can concentrate on creative and complex aspects of software development. ## Sections - [00:00:00](https://www.youtube.com/watch?v=juG3FUPyrVQ&t=0s) **Engineers Harness LLMs for Coding** - The speaker reviews recent blog posts that showcase ten practical ways engineers employ large language models—such as API comprehension, code diffing, trimming codebases, and refactoring—to simplify boring or difficult programming tasks. ## Full Transcript
0:00are you really curious where llms are 0:02actually getting used by Engineers so am 0:04I and that's why I was so pleased to see 0:05a couple of blog posts come out in the 0:08last few days talking about how 0:10Engineers are actually using AI in 0:12everyday coding life to do tasks that 0:15were boring or difficult to do I'm going 0:18to go through 10 of them I'm going to 0:19call out at the end sort of where I 0:21think the overall theme is and I'm also 0:22going to link the posts underneath 0:24because I think both Eric and Nicholas 0:25did a great job articulating how they 0:29have used LL M to make their lives 0:32easier and then sharing that work so 0:33others can learn from it so much of llm 0:36uh learning is about sharing what you 0:38know so others can build on it so 0:40appreciate both of them so the 10 things 0:43that they called out and they're not 0:44exactly 10 like they called out more 0:46than that I just called out a few that 0:47I've seen elsewhere as well uh one is 0:50really around how you understand an API 0:54without having to go and look it up so 0:57API reing right like if you go in and 0:59you say I need to what this schema is I 1:01need to know how this endpoint Works 1:03super easy to get that with an llm 1:05particularly if it's a really well-known 1:07API number two diffing code you can pull 1:10the code down you can see what are the 1:12differences between lines of code and 1:13llm is going to see that call out the 1:15lines of code and will as a bonus 1:17probably tell you how it works number 1:19three trimming code bases so three and 1:22four are related so trimming code bases 1:24and refactoring code both about 1:26efficiency and fundamentally if you're 1:29if you're looking just to trim down the 1:30llm can look at shortening for you if 1:32you're looking to refactor the llm can 1:34do that it's a slightly higher level 1:36task right because you're looking to 1:37make multiple pieces of code work 1:39together and work together efficiently 1:41and drop extraneous code uh and the 1:44engineers report using an llm for both 1:46of those including refactoring you know 1:48several thousand lines of code so it's 1:51not just that it's going to take like a 1:52100 lines of JavaScript that you could 1:54bash out and like make it slightly more 1:55efficient it's going to actually do a 1:56little bit more than that uh so I also 2:00want to call out the like these two like 2:04f five and six fundamentally it's about 2:08taking stuff that you don't want to do 2:10or that your brain has a hard time doing 2:11and making it easier and so there's a 2:13bunch of stuff that's effectively sort 2:15of categorized under boring tasks that 2:17Engineers don't enjoy doing like writing 2:20documentation uh there's a blank page 2:23problem where you don't know quite how 2:24to start on a problem and you want to 2:25just get something out there so you can 2:27start to think about the problem and 2:28code both those things are challenges if 2:32your brain is not ready to write the 2:34code right that second if you need to 2:35get warmed up get into the problem or if 2:37you don't want to take time out of the 2:39code and you want to sort of focus on a 2:41really naughty problem and you don't 2:43want to sort of get all the extraneous 2:45tasks to distract you and so in those 2:48situations just just give the thing you 2:50don't want to do to the llm which is 2:52sort of what the engineers uh recommend 2:54doing here and certainly what I've seen 2:55other places as 2:57well you sort of treat the llm as you 2:59would would treat sort of a assistant 3:03who you are paying to take some of the 3:05load off your plate and that's not super 3:08surprising because we see that with uh 3:10non-engineers as well it's kind of the 3:12same work motion but it's interesting to 3:13see that it extends into the code space 3:15as 3:16well all right uh you can use it if you 3:19are trying to understand the new problem 3:21and typically you're Googling for it but 3:23like it's faster just to get a clear 3:25explanation from an llm so you can just 3:27say hey I need to get deeper on python 3:29in area or I need to learn about curl or 3:31I need to learn about rust or Pearl or 3:33whatever it is and you can actually go 3:35in and just get the primer that you need 3:38to work in the application the way you 3:39want 3:40to and that is way more efficient than 3:45trying to understand something by 3:47inferring from Google results you can 3:48skip the inference you can get the 3:50explanation and what I find is even 3:52though we all talk about large language 3:55models as hallucinators a lot humans 3:59typically tolerate a degree of 4:01inaccuracy everyone is known if you've 4:03been on the internet for a while that 4:04not all links are valid links do 4:06everything on Reddit is true and so if 4:09an llm is coming back to you I think we 4:11have a little bit of a built-in 4:12tolerance for noise or a built-in 4:15tolerance for it's okay it's 4:17approximately right in our information 4:19already and so when we get a primer if 4:21it's mostly right we tend to be like 4:23okay fine like I can get forward with 4:25this I can move along and I can tolerate 4:28whatever happens after afterward by 4:30asking questions and 4:32debugging uh so that's definitely one 4:35that I think that we use for other 4:37things if we're not Engineers but 4:39Engineers sort of using it reinforces 4:41the strength that llms have for 4:44coding building an app so if you want to 4:47sort of understand like how powerful 4:49these can be Engineers are reporting 4:51they can build entire apps maybe not 4:53super big apps but entire apps in code 4:56um and they can do it in zero shot or 4:58one shot where basically they like send 5:00uh a single prompt out maybe two prompts 5:02out and they can get the whole app done 5:04is that for something massive are you 5:05building a B2B SAS business off of that 5:07not necessarily but these days the use 5:11for software is also changing and so 5:13because we can use software for more 5:15things because the cost of making it is 5:17going down there's a lot of utility or 5:19value to be unlocked in just getting a 5:22good prompt and writing the app out 5:25cleanly in one go and so a lot of it is 5:28about prompting and and sort of 5:30understanding what you need to ask the 5:32AI to do and then trusting it to ask you 5:35questions and drive the show when it's 5:38starting to write that code like I've 5:39had a lot of success playing around with 5:41Claude recently myself just sort of 5:42getting Claude into a space where I'm 5:45encouraging it to ask me questions for 5:47clarity around requirements versus me 5:49asking it questions which is a lot more 5:51labor 5:52intensive so that one resonated for me 5:55uh so and then the last two I wanted to 5:57call out one of them is writing 5:59throwaway so I talked about the cheaper 6:01cost of software like it's gotten so 6:02cheap now you can literally write 6:04throwaway code I wrote uh 10 some lines 6:08of JavaScript just to mess around with 6:09Autos scheduling in my calendar and it 6:13took me like 10 minutes between meetings 6:15and it was not a big deal and I don't 6:17know if I'll use it again it was useful 6:19for that moment and whether I go back 6:21into Google appscript and mess with it 6:23again I kind of don't care and I kind of 6:26don't care how stable it was and it was 6:27so cheap to write I was just done with 6:28it if I had had to solve that problem 6:31before llms I would have had to like 6:33really labor over it I'm not like I'm 6:35not a programmer by trade I'm not super 6:37fluent in JavaScript and I would really 6:39have had to sort of dig in to make it 6:41work and it would not have been worth my 6:43time so this is changing the time value 6:48of all of our work and the coding piece 6:51is really interesting because it means 6:53that coding is becoming something that 6:56non-coders can do even if Engineers are 6:59far far better at the architecture at 7:01the Elegance at the clarity of 7:03engineering thinking and that's not 7:04changing and that's still needed the 7:07actual sort of grunt work of generating 7:09code is something that everyone suddenly 7:10has access to and we're seeing that come 7:13through in a lot of appetite for cheap 7:15throwaway code all right and the last 7:18one is it's really tough sometimes to 7:21know how to break a larger problem down 7:23that's something that has been covered 7:25to great effect when we talk about 7:26product management and we talk about how 7:28you break out requirements there's a 7:30whole startup around that now chat PRD 7:32but if you're looking at from an 7:34engineering perspective and breaking out 7:35technical requirements well it turns out 7:37llms can do that too and I think that 7:40one of the things that I take away from 7:43that is that a lot of the Motions as I 7:45look through sort of that Eric's post 7:47Nicholas's post these are motions that 7:49are common to a lot of knowledge work 7:51but they're just being executed in the 7:53code they're not actually different 7:57except that you're working in code all 7:59day instead of working with text all day 8:01and I think that gets it some of the 8:02underlying strength of an llm where it's 8:03a next token predictor and it works on 8:05code and it works on text and if you 8:07happen to work in code it works pretty 8:09well there so if I actually had to pull 8:11out a theme I would say this is more 8:13like as someone who's like a technical 8:15product person this feels more like the 8:17work I do anyway with llms which was a 8:19little bit surprising to me uh than it 8:23does like a foreign language or 8:24something that like is a totally 8:25different use case for an llm 8:27fundamentally people are using large 8:29language models for boring stuff for 8:32stuff they don't want to do to lighten 8:34the cognitive load around really 8:36challenging tasks frankly just to save 8:39them time that is a common use case and 8:41it's really good to see specific 8:43examples of this I'm definitely going to 8:44link both of those blog posts below so 8:46you can check them out I think it's 8:48important to start to socialize good use 8:51cases that are actually practical and 8:52usable for llms especially in the coding 8:54space where there's just so much 8:56assumption around oh you know the llm is 8:58going to take jobs or the L m is useless 9:01let's just talk about what it does and 9:02let's worry about the implications later 9:04I hope this was fun I hope it was 9:06helpful