13 ms·
AI copilots are changing how coding is taught
- smokel 3y ago> Students can spend more time on optimization, ethical issues, and the user-friendliness of a system rather than focusing on the syntax of the code And when they land a job in the industry, where exactly are the optimization and ethics when transforming XML into JSON and back again? I might be in the wrong company, but I see most developers do extremely mundane tasks. At university, they have learned to code Dijkstra's algorithm blindfolded, but they never get to implement it again, because it is already available in a library. The real added value of a developer is to transform human requirements into code. Transforming the human requirements into prompts, which are then automatically transformed into code is a big win, but I wonder if it will change things at a fundamental level. We are already way too smart for the jobs we do.
- simonw 3y agoI've been programming for 25 years. Thanks to LLM assistance I hope to never have to hand-write code that converts XML to JSON ever again. (Last night I ended up writing that kind of code because GPT-4 didn't quite get it right for me, but 90% of my code like that has been LLM-created in the past 6 months and I look forward to that creeping closer to 100%)
- ado__dev 3y agoI think us folks that have been coding for 20+ years can properly utilize AI coding assistants because we can take the code it spits out and usually understand it pretty quickly and debug it if needed. It's just a skill that comes from writing code for so long. I have seen many jr level programmers struggle with AI coding assistants because they ask a question, get some code, paste it in, realize it doesn't work, but don't know why or the right questions to ask to properly debug it and get it working.
- jaredsohn 3y agothen they should ask the ai questions about it to learn. Even ask it what the right questions are if needed.
- lupire 3y agoDoes that work? Can a novice an LLM into coaxing requirements out of the novice?
- kolinko 3y agoYes. You ask an LLM to ask you questions until it's clear what you want to do.
- ado__dev 3y agoYou can do this, and sometimes it works, but more often than not it does not. it's basically the blind leading the blind. With the current state of LLM hallucinations, it's very easy to be given bad or outright wrong answers, and if you don't know any better (which as a jr you probably don't) you'll just end up running in circles. I think this will def get better over time though.
- visarga 3y agodamn right, I tried using GPT-4 for to make a text editor enhanced with CodeMirror 6, but the model kept confusing with version 5, and the thing is, they moved stuff around and deleted some modules, so it was a total mess when you refactor the whole framework you should change its name to keep docs straight, a mere version change is not strong enough for LLMs
- deleted 3y ago[deleted]
- kolinko 3y agoAs for jr programmers, otherwise they'd spend time trying to find a stackoverflow answer :)
- brittlecode 3y ago[dead]
- Workaccount2 3y agoI can only imagine that given current trends, this period of "LLM writes boilerplate/broken code and SWE builds on it/fixes it" will be incredibly fleeting.
- mrcode007 3y agoWhy would you write code for that? It’s just a few lines of XSLT!
- simonw 3y agoXSLT is the perfect example of a technology that I might consider using today if I can get an LLM to do all of the work for me - see also jq and AppleScript which I use frequently now after avoiding them both for years.
- mrcode007 3y agoI think you missed the point. People attempt to solve problems with LLMs that are problems only to them because they are unaware of existing solutions that have solved the these “problems” a long time ago. If you don’t know something exists, you can’t ask an LLM about it.
- simonw 3y agoAsking "give me options for" is one of my go-to prompts for this kind of thing. I just tried "Give me options for converting XML to JSON" and XSLT was 5th out of the 6 it gave me: https://chat.openai.com/share/85aa3e93-f557-426c-b0ce-f3bce7822cb3 https://chat.openai.com/share/85aa3e93-f557-426c-b0ce-f3bce7...
- bonzini 3y agoDoes it do escaping in a reasonable way?
- simonw 3y agoI played around with it a bit and it looks like you have to do some pretty gnarly things to get JSON string escaping to work in XSLT output - at least for the XSLT 1.0 version supported by most web browsers: https://chat.openai.com/share/4bc7922b-b1c2-411c-aef9-b41b0f0e9936 https://chat.openai.com/share/4bc7922b-b1c2-411c-aef9-b41b0f...
- 3y ago
- tibbydudeza 3y agoI stand on the shoulders of giants - all the kind folks who freely contributed to the Python package system. I can now spend time solving actual problems rather than reinventing the wheel.
- zer00eyz 3y agoYou (and i) are more of a raccoon picking though a dumpster looking for working scraps of code that you can glue together. Let's be candid, we all have package management Stockholm syndrome to some degree... the reality is that our laziness keeps us going back for more. The performance gain comes at the cost of not knowing how some large percentage of your stack works or if it is going to be the next XZ. Im not going to stop using packages, because that would suck, but I'm not so rosy eyed about them any longer. There are lots of problems in ecosystems and we're bad about addressing them.
- williamcotton 3y agoThere is no such thing as a free lunch!
- enceladus06 3y agoLots of different ecosystems. Mamba + docker are great though. Pip is ok. Apt works, but we were using the same thing in 2006. If these different bits didn't exist, and have ChatGPT telling me that they exist then most work wouldn't get done...so there's that.
- tibbydudeza 3y agoAgree - nodejs npm system - some of the code - eish. I love the racoon analogy :). Pandas for me a was game changer and a new career path.
- int_19h 3y agoVernor Vinge very accurately predicted how programming will develop 25 years ago. "Pham Nuwen spent years learning to program/explore. Programming went back to the beginning of time. It was a little like the midden out back of his father’s castle. Where the creek had worn that away, ten meters down, there were the crumpled hulks of machines — flying machines, the peasants said — from the great days of Canberra’s original colonial era. But the castle midden was clean and fresh compared to what lay within the Reprise’s local net. There were programs here that had been written five thousand years ago, before Humankind ever left Earth. The wonder of it—the horror of it, Sura said — was that unlike the useless wrecks of Canberra’s past, these programs still worked! And via a million million circuitous threads of inheritance, many of the oldest programs still ran in the bowels of the Qeng Ho system. Take the Traders’ method of timekeeping. The frame corrections were incredibly complex — and down at the very bottom of it was a little program that ran a counter. Second by second, the Qeng Ho counted from the instant that a human had first set foot on Old Earth’s moon. But if you looked at it still more closely… the starting instant was actually about fifteen million seconds later, the 0 - second of one of Humankind’s first computer operating systems. So behind all the top-level interfaces was layer under layer of support. Some of that software had been designed for wildly different situations. Every so often, the inconsistencies caused fatal accidents. Despite the romance of spaceflight, the most common accidents were simply caused by ancient, misused programs finally getting their revenge. “We should rewrite it all,” said Pham. “It’s been done,” said Sura, not looking up. She was preparing to go off-Watch, and had spent the last four days trying to root a problem out of the coldsleep automation. “It’s been tried,” corrected Bret, just back from the freezers. “But even the top levels of fleet system code are enormous. You and a thousand of your friends would have to work for a century or so to reproduce it.” Trinli grinned evilly. “And guess what — even if you did, by the time you finished, you’d have your own set of inconsistencies. And you still wouldn’t be consistent with all the applications that might be needed now and then.” Sura gave up on her debugging for the moment. “The word for all this is ‘mature programming environment.’ Basically, when hardware performance has been pushed to its final limit, and programmmers have had several centuries to code, you reach a point where there is far more signicant code than can be rationalized. The best you can do is understand the overall layering, and know how to search for the oddball tool that may come in handy ...”"
- bugfix 3y agoIt's a great tool when you can actually read and understand the code AI is feeding you. When you don't really know how the language works or don't know programming in general, you end up getting stuck trying to guess why this valid piece of code (that looks like it should do what you asked the LLM for), is not working properly.
- llm_trw 3y ago>(Last night I ended up writing that kind of code because GPT-4 didn't quite get it right for me, but 90% of my code like that has been LLM-created in the past 6 months and I look forward to that creeping closer to 100%) I have bad news for your long term employability if that's the case. I find that my code is 25% LLM-able on a good day with minor editing. On a bad day it is 10% LLM-able with me having to edit every line to get them to fit together.
- simonw 3y agoI wasn't talking about all of the code I write, I was talking about code along the lines of "convert this XML format to JSON".
- llm_trw 3y agoFair enough. I have to admit I've written a gpt4 api shell utility which transforms text based on descriptions like "split string on '-' after a '~' but only if it's in a the second csv column and select the third". I feel dirty using it - send your data to the cloud and use a ~peta flop- but it's faster than trying to remember how to do it in awk for under 1000 lines.
- kragen 3y agoi really don't think simon motherfucking willison needs to worry about his long-term employability, unless either he suffers a disabling injury, or llms get better than humans at everything, or somehow people stop wanting software
- Animats 3y ago> Thanks to LLM assistance I hope to never have to hand-write code that converts XML to JSON ever again. There is that. Although, if you need, say, to convert .fbx to Collada, there won't be enough examples out there for an LLM to infer how to do it. There's progress; most tools that wrangle meshes now speak glTF, so at least you only need O(N) converters, not O(N^2). There are a number of programming in the large problems that tend not to be taught. A large collection of problems revolve around having state in one place that you want somewhere else. Sometimes you can just pack up the whole state and send it. That works if it's not too big and doesn't change too often. Perhaps the data is huge. Or somebody isn't allowed full access to it. Or it's changing rapidly. Or you need to keep up with changes with low latency. Or you must have guaranteed eventual consistency. Those problems come up all the time in areas from finance to game dev. Inefficient solutions to such problems lead to bloated browsers, slow web pages, and inefficient back ends. An example is XMLRPC. Efficient solutions to those problems are complex, hard to modify, obscure, and hard to debug. An example is the internal representation of Microsoft Word .doc documents. Much of the web is trying to ship state from somewhere to somewhere else, in rather bulky ways. This can have business implications. In the metaverse area, where I've been doing some things, Improbable tried to deal with such synchronization problems in a very general way. They blew through about US$400 million in venture capital, and produced a working system that needs so much server capacity that five indy games went bust, and their big demo, Otherside, is so expensive to run that they only turn it on for demos a few times a year. This may also be why Meta blew their metaverse business so badly and spent so much money. Doing this by special casing code results in an obscure, hard to modify system with race conditions and consistentency problems. That's the classic MMO approach, and is used by Second Life/Open Simulator. A general understanding of such problems is useful, and is teachable. But what do you read for that? Not books on "how to do thing X in framework Y".
- mirsadm 3y agoI've been programming for about as long but I've yet to see a case where searching on Google (and often opening Stack overflow) wasn't quicker than ChatGPT. More often than not if I'm looking something up I'll get a bunch of answers on SO and quickly skim through them to get what I was looking for. This is way quicker than prompting over and over again hoping to get an answer. But after programming for so long the types of things I'm searching are basically API references. I know exactly where I'm going I don't need help getting there.
- simonw 3y agoYou have to learn how to most effectively use ChatGPT etc. If you use it the same way you use Google you'll probably get better results from Google. Here's an example from yesterday where I knocked together a tool for converting Atom XML to JSON using XSLT in a couple of minutes on my phone, just out of curiosity to see what it would look like: https://chat.openai.com/share/4bc7922b-b1c2-411c-aef9-b41b0f0e9936 https://chat.openai.com/share/4bc7922b-b1c2-411c-aef9-b41b0f...
- t-writescode 3y ago> where exactly are the optimization and ethics when transforming XML into JSON and back again? What's are the XML and JSON being used for? If you're working for a company, you almost certainly aren't working for the "XML to JSON, library salesperson" company, you're probably connecting different API endpoints. What do those endpoints do? Do they do ethical things?
- avgDev 3y agoThis is actually what sucks about interviewing. My work is mostly working with managers/executives to deliver them a solution, I provide tremendous value to the business. I am full stack dev and can write a complete solution with tests, CI/CD pipelines and setup infrastructure. I once interviewed and was asked what is the difference between thread and a task. I provided a 'dumb' correct answer because I did not remember the text book definition, as I have been out of school for several years. The interviewer ignored everything I've said and told me "Actually, it's <insert textbook defintion>". It almost seems that computer science teaches you too much of the theory and not enough of "get shit done". I really enjoyed computer science and graduated with honors, but writing business code is kind of meh and boring. I know people who dropped out of CS due to having a hard time with algorithms and more advanced courses. I feel like they should have stayed and would do fine doing boring work. However, nobody tells you this, there seems to be a lot of gatekeeping in tech.
- leetrout 3y ago> there seems to be a lot of gatekeeping in tech Yes. And in many other industries but it is especially bad with the types CS attracts.
- kolinko 3y agoA dev who coded Dijkstra will catch up with any new framework in no time. A dev who never went into algorithms will not even know how to program some things and where to find information. Having worked with both kinds - I'll take a dev with experience in algorithms and no knowledge of a framework we need to use over an opposite. Especially in times of GPT, where gpt will allow you to switch to a new framework in no time, but struggle with anything besides the boilerplate code structure.
- epolanski 3y agoI don't get how your comment relates to the previous post. The user never stated the opposite.
- layer8 3y agoNot every comment needs to be a rebuttal.
- amadeuspagel 3y agoCurious. I see a lot of whining about the rapid changes in frontend development on HN. Are these all just people who failed to learn Dijkstra's algorithm?
- layer8 3y agoIt's not an issue of ability, it's one of annoyance.
- Maxatar 3y ago>And when they land a job in the industry, where exactly are the optimization and ethics when transforming XML into JSON and back again? The programmers who are mostly only capable of doing this kind of grudge work will lose their jobs and need to transition and adapt to a new form of grudge work. And yes, as you point out, that's a lot if not most of them.
- smokel 3y agoI must admit that my post was not very clear (reflecting the current state of my thoughts about this matter), but what I meant to say is exactly the opposite of your suggestion. Some people believe that AI will take our jobs, but my point is that our work is already practically trivial, yet for some odd reason we are still in short supply. As much as some of us have become JIRA slaves, our future generations will probably become AI slaves. True creative programming is beholden to a very select group of people, simply because there is so little demand for new things.
- Maxatar 3y agoI have multiple friends who are doctors, and they will all tell you that 95% of their work is just trivial grudge work that almost anyone can do. Most cases that come to them are easily treatable and don't really require much of any expertise to diagnose or manage. Nevertheless, doctors in many areas are in short supply and it's incredibly hard to become a doctor. Why? Because for the 5% of hard cases when you absolutely need an expert or else there are serious consequences, and it's very hard in advance to predict if someone's case is the 95% of trivial grudge work, or that 5% of critical work. Software development is the same, the vast majority of the work is trivial grudge work and there's a lot of that grudge work, enough of it to keep millions of people employed. But there's still that 5% of the time when you need to be an expert, when you need to know data structures and algorithms and good architecture and have solid knowledge of your domain. The problem with software development is that most people just take that 95% for granted, get complacent and think that the 95% of trivial work is the job and that they don't need to be prepared for the remaining 5%. My opinion, and that's all it is, is that in the future there won't be a need for that 95% of work, it will be automated and all that's left will be the remaining 5%. The people who became complacent and came to believe that their job is the 95% of trivial work will find themselves in a very difficult position.
- faizshah 3y ago90% of my job is spent redesigning and optimizing code that “just transforms XML into JSON and back again.” The problem is when you don’t have a good mental model for how the code works and how it will evolve over time you make bad design decisions. An algorithm that’s fast for 99% of inputs can be accidentally quadratic for 1% of inputs and lead to major tail latency (group membership in AuthZ systems is a great example) which leads to months of wasted human effort over years because of the bad design decision (and now nobody is at the company who knows how it works anymore). Does this sound familiar to anyone else? The point of learning Dijkstra’s algorithm isn’t to be able to reproduce it, the point is that you know what’s available to you to solve a problem and what areas of the algorithm you can tweak for your use case. If you don’t have a good mental model of how the code works and how you write a maintainable solution then you’re not able to analyze the tradeoffs of the high level competing requirements like AppSec vs UX vs Maintenance vs Engineering Effort that is at the heart of what a software engineer does. And this doesn’t change with AI either, the code that comes out of LLMs is often poorly designed but you can’t tell that unless you have worked on different types of systems to know why we might use immutable data here but shared memory in this situation.
- winterrx 3y ago> Professors are shifting away from syntax and emphasizing higher-level skills As it should be.
- ithgub 3y agoHow so? Programming IS syntax. If you want higher-level /skills/ you need foundational skills. If you want higher-level understanding, well that’s what pop sci is for.
- doctorpangloss 3y agoI’m not sure why you’re being downvoted. Among all CS students, when they are weak, the #1 problem I observe is a poor ability to “see” code down to the character. They literally do not notice mistakes. I’ve seen their ChatGPT histories, their questions are too vague. It’s two sides of the same coin.
- mrkeen 3y ago> Programming IS syntax. And writing a novel is spelling.
- VyseofArcadia 3y agoI would argue that spelling is a prerequisite for writing a novel.
- Jtsummers 3y agoPrerequisite, yes, but it is not the thing itself. Just because you can spell doesn't mean you can write a novel, or every Spelling Bee winner should become an award winning novelist. The meaning of the words, the structure of the novel, characterizations, etc. all matter as well, and are ultimately much more important than just spelling things correctly. Defining programming as just syntax is nonsense. The SHOUTED IS (like we're on AOL again for some reason) places outsized emphasis on syntax. Either that it is "just syntax" as randomdata wrote or the majority of programming as the SHOUTED IS could also imply, makes no sense. Just creating a syntactically valid program is insufficient for creating a correct or useful program, just as correctly spelling a string of words is not enough to create a novel.
- pipes 3y ago"Understanding doesn’t build fluency; instead, fluency builds understanding" Someone else on HN pointed out this great quote from here (my memory might have altered it slightly) https://nautil.us/how-i-rewired-my-brain-to-become-fluent-in-math-235085/ https://nautil.us/how-i-rewired-my-brain-to-become-fluent-in... Written by the person who wrote the book "a mind for numbers" Anyway, this idea about teaching how to use AI is backwards: Good luck debugging code you aren't skilled enough to write.
- VyseofArcadia 3y agoI'm waiting for "Google Translate is changing the way languages are taught." "Students don't need to learn grammar and syntax and really any vocabulary. AI assistance lets them understand higher level German concepts without needing to know how to conjugate for gender and number or remember if a noun uses der, die, or das." You see a lot of examples of things that seem absurd when applied to non-technical topics, but as soon as you apply them to computers all skepticism goes out the window. If I told you I have a person who speaks perfect English but frequently lies and outright makes things up, you'd say that's a politician and not to be trusted. But if I say I have a computer with those same properties, suddenly it's the most amazing thing in the world, and we should implicitly trust it to make our decisions and educate our children.
- pixl97 3y ago>you'd say that's a politician and not to be trusted And yet, it seems that kind of politician is common and seemingly rules the world at this point. I'll let you decide what that means for the future of humanity.
- lupire 3y agoGerman is the lower level concept. I express a concept in my language and the machine translates it.
- VyseofArcadia 3y agoI feel like you're missing the point. If you're having a machine translate it for you, you aren't learning German. Similarly, if you're having a machine translate an English-language request into Python, you aren't learning Python. To say that, as the article says, "Professors are shifting away from syntax and emphasizing higher-level skills" essentially means "Professors have stopped teaching programing languages and have started teaching how to turn natural language problems into AI prompts." Higher-level problem solving skills are important, but I am skeptical of eschewing a lower-level foundation in favor of only teaching higher-level problem solving skills.
- hinkley 3y agoI worry for the next generation. I loved math until college. I was in a hurry to get gen-ed and general engineering classes out of the way so I signed up for an accelerated math class that was one of if not the very first pilot program to teach calculus with Mathematica. It also collapsed three semesters into two. I learned first hand why teachers want you to master the fundamentals before reaching for a calculator. Most of the time if I couldn't figure out how to solve the problem, I would reverse engineer the steps from the solution. But I wasn't really learning how to think about the problems for myself. I did abysmally on every single test. I got a B- in the class only because the homework was weighted ridiculously high and I had a >95% on that portion of my grade. How to not recreate that failure mode will probably be this generation's big crisis.
- itishappy 3y agoSimilar story here with high school calc. My TI-89 had a better CAS than the TI-84. It's been 16 years, and I often find myself wishing I knew how to do basic integrals. I get by, but I often feel a bit handicapped vs my peers. Like building a house on a shaky foundation.
- teaearlgraycold 3y agoIt all depends on your life, but for me just knowing when to use integrals and derivatives is plenty.
- itishappy 3y agoTotally agree, I definitely use more calculus than most! Wolfram Alpha and the like also make up most of the gap. The main issue I run into is manipulating mental models, visualizing how they interact and combine. If I were to try to make a programming analogy, it feels like I know how to work with `fold`s but don't understand recursion.
- djmips 3y agoBut your work work is more like homework so...
- tombert 3y agoI'm all for moving to higher-level skills, when I was an adjunct professor I usually didn't put a huge emphasis on syntax unless I thought it was important to explain a concept, and I very rarely took off points for syntax. That said, I don't know that I would allow AI for learning to code in the class. I do not consider "prompt engineering" to be a substitute for programming, and it's very easy to get AI to write some code and copypaste it, not understand anything it said, and be done. Last year, when I was administering a test, I said that they were allowed to use any IDE they wanted, but they could not use any AI assistance. I am pretty convinced one student just copypasted my test questions into ChatGPT or BingAI and then copied the answers. I didn't have a way to prove it so I had to give him the benefit of the doubt and grade it assuming he did it honestly. Before someone says "YOU SHOULD TEACH THEM TO USE THE AI TOOLS LOL THAT'S THE FUTURE!!!", stop. That's not true, not yet at least. Just because I can call an Uber doesn't mean I get to say I know how to drive. Just because I can go to McDonalds doesn't mean I get to say I know how to cook. I was teaching them how to write Java and Python, the goal of the class was for them to learn Java and Python, it wasn't learning how to copypaste into OpenAI.
- kolinko 3y agoI'd say that especially because assistants are not good enough yet, it makes sense to allow students to use them. LLMs will produce output that is messed up, students will spend time figuring out how to fix that and learn the language grammar this way. I recently learned Swift & Metal this way - knowing Python and other languages, I kept pasting my pseudo-code, asking GPT to convert it into Metal/Swift, and then iterating on that. Took me a week or two to get the language without reaching for any sort of manual/tutorial. Speaking from experience - it would take me 2-4x as much time to learn the same thing otherwise. If GPT was any better, I'd have no need to fix the code, and I wouldn't learn as much.
- tombert 3y agoI want to emphasize that I'm not really a luddite here. I pay for ChatGPT (well, Kagi Professional), I use it daily, and I do think it's a very valuable learning tool. I even encouraged my students to use it outside of class if they needed help with any of the theory. I use ChatGPT all the time for learning new stuff, but a) I already know how to program well enough to teach a class on it, and b) it's a supplement to doing stuff on my own, without AI help. I don't feel I learn that much from just copying and pasting. Totally agree with your process though; correcting and arguing with ChatGPT is an insanely good way to learn stuff. It's really helped me get better at TLA+ and Isabelle proofs.
- esafak 3y agoI was listening to the Clean Code audiobook, and the author made the case that every programming paradigm introduced restrictions into what the programmer was allowed to do; i.e., operated at a higher level of abstraction. The author then claimed that since the existing paradigms all came out in quick succession without any new paradigms in decades, and there was no power left to strip, no new paradigms would be likely to emerge. And here we are in 2024 watching the emergence of natural language programming, where we merely describe the program's specification in natural language and have the computer generate the rest. There's your new paradigm.
- itsoktocry 3y ago>I was listening to the Clean Code audiobook Interesting. How is the book in audio format? As a "must read" book that no one actually reads, that may take the edge off.
- esafak 3y agoIt's dry, and paced leisurely enough to listen to while driving without causing distractions. I get it with my Spotify subscription: https://open.spotify.com/show/6xeQtXlzLYZUm7LlnWhSoU https://open.spotify.com/show/6xeQtXlzLYZUm7LlnWhSoU
- paulddraper 3y agoClean Code is 50/50 hit-and-miss.
- pwdisswordfishc 3y agoThat’s pretty generous. https://qntm.org/clean https://qntm.org/clean
- skydhash 3y ago> And here we are in 2024 watching the emergence of natural language programming, where we merely describe the program's specification in natural language and have the computer generate the rest. There's your new paradigm. Is it? When you take procedural, object-oriented, logic, and functional programming, they did not only changes how we code, they also change how we think about the solution. We had new entities and we could describe the relations between them to describe an algorithm. Natural languages have been there forever, but the thing it lacks is formality. Every term describe a very large class of objects and specifying which one you're referring too is arduous. The kind of specification needed to describe problem solving steps is what created programming languages in the first place. Programming languages are not some arcane art that we need to suffer through. They're the best way to specify to a machine how it should work to do a task. Maybe AI can be the new machine, but its capabilities so far are not that impactful IMO.
- atleastoptimal 3y agoby the time current freshmen graduate, even AI-first CS education will be outdated. There will be no new jobs left for humans, only the old incumbents clinging to their tenure as all knowledge work is automated
- sjrd 3y agoIMO most proposed changes to teaching using AI are misguided. My philosophy regarding AI copilots and teaching is: as calculators are for those who already know how to compute, so are AI copilots for those who can already develop software. They are tools to leverage when you know the craft, to accelerate. They are not there to do what you don't understand.
- theshrike79 3y agoAI tools are multipliers, if your skill level is zero the result will still be zero.
- Avamander 3y agoWhat does it multiply? I'm genuinely curious because besides insecure examples of a new framework I (might) want to use, I haven't seen a great use-case. My reaction has at best been "oh look how cute it is", like watching a kitten try to walk, when I have tried various LLMs out there.
- deleted 3y ago[deleted]
- theshrike79 3y agoI made a comment about this above, but here's an example: I'm doing a complete rewrite of a C# project with Rider and Copilot integrates to it directly. This allows me to: - Have the previous project open and ask questions about it from the LLM, like "Where is the DbContext initialised" or "How does FooModel connect to the database" and it'll give me the direct answer and links to the .cs files where it found the information. - In the new version I can paste a bunch of SQL CREATE statements to Copilot and it can create the models for them automatically. It knows how to do foreign keys both in [annotations] and using the fluent model based on the statements I gave it. - I can ask questions like "how can this be done more efficiently" and it gives decent suggestions. Like I learned about the C#11 'required' keyword[0] by having it be suggested to me :) - I can make it do the tedious code changes for me like "write me the primary key generators for entity framework for classes FooModel, BarModel and BazModel" and I can just click "insert at cursor". - It's also pretty well integrated to projects, so the code suggestions it gives are usually pretty well on point. Like I can just start typing DbSet and it'll automatically give me each of the models in the project (linked via a shared project) one by one as completions 100% correctly. Takes me 5 seconds to add 5 DbSets. Working with an LMM takes some getting used to, just like with pair coding in general. Your "partner" doesn't know what you think, so you need to communicate what you're doing efficiently and in a way they can understand. "Prompt engineering" is a stupid term, but it's still valid. There is a certain way you need to communicate with LLMs so that they understand what you want and give you a concise answer. I use it like I would a Junior coder, give it the simple tasks I know 100% how to do myself, but can't be bothered because of the tedium. [0] https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/required https://learn.microsoft.com/en-us/dotnet/csharp/language-ref...
- Jackson_Fleck 3y agoLLMs are like interactive SO without the sarcasm. I think a lot of people who have abstract problem solving skills don’t want to make tic tac toe games and to-do lists. They just want to get on and code, building what they want. LLMs are great for throwing you in the deep end. If the code doesn’t work and you’re in a complete mess about debugging it - that’s great. It’ll force you to think through the WHY and HOW far more carefully than writing some stupid Hello World thing or doing another tutorial. You end up reading the documents and wrestling with ideas. Best approach I find is to throw yourself at a LLM, then backfill your knowledge with books and resources, and speak to experienced people. That way you craft your own learning experience. Especially valuable if you just aren’t surrounded by software engineers - you’re forced to learn.
- luqtas 3y agoso basically you prompt the LLM something complex and go do helloWorlds examples on books that will teach you complex stuff
- Jackson_Fleck 3y agoYou try to build somethign complex, encounter a concept you don't understand fully, go to the literature and learn it because you need to know it, it unlocks the next step of building. Obviously you need to start the very basics with Hello World - i.e. if you've never coded before, you should grasp the very basics of how code works and how languages work. However after that, there's no need to spend hundreds of hours doing tutorials. Building a thing is always better because the problems you encounter are real.
- sva_ 3y agoSomething else less related that I find really useful about these chatbots is their ability to take some abstract explanation of some problem/attempts to tackle it, and it'll often spit out a name for it, and explain that this sort of problem is already well studied. That can be really difficult with other more traditional tools. I feel like this could be a big deal in science in general. People of different fields often do unnecessary extra work (as in reinventing the wheel) because they're not aware that there's, say, 10 years of research on it. To take an extreme example, just think of the poor fella doing medical research who rediscovered integration[0]. 0. https://fliptomato.wordpress.com/2007/03/19/medical-researcher-discovers-integration-gets-75-citations/ https://fliptomato.wordpress.com/2007/03/19/medical-research...
- skydhash 3y ago> I feel like this could be a big deal in science in general. People of different fields often do unnecessary extra work (as in reinventing the wheel) because they're not aware that there's, say, 10 years of research on it. Maybe an introductory search in other fields is what required? Or heading to the library? Even in software engineering, we see people reinventing the wheel because they can't be bothered to read a computer science book.
- jltsiren 3y agoOn the one hand, this is something I also hope LLMs will be able to do. On the other hand, it seems to be something LLMs are particularly bad at. There are many similar but subtly different concepts. People use the same words for different concepts and different words for the same concepts. Every paper invents new terminology. And there is often very little written material available.
- Avamander 3y ago> People use the same words for different concepts and different words for the same concepts. Left unchecked, it will be amplified by LLMs. Detecting and ignoring the poisoned data requires way more "intelligence" than the current approaches can achieve. Not sure if it'll exactly be bad, some naming schemes are just bad anyways. Old man yells at a cloud using words incorrectly...
- redleggedfrog 3y ago"We should be making AI a copilot—not the autopilot—for learning." Doesn't work. A friend has been a teacher, at a not cheap private school, for going on 25+ years now. What she sees at almost every level is an avalanche of LLM "cheating". Even when there is extreme upfront emphasis on "this course is to help you learn, not just do whatever to find the 'correct' answers as quickly and easily as possible" the majority of students do the latter. She guesses that at least half are pasting in answers without even reviewing them. There are of course the few students that are there out of passion for learning, but those are the exceptions. This doesn't just apply to CS. There are cultural and political ramifications that make enforcing this difficult (read rich parents that want those good grades). So she struggles along trying to swim against the current of LLM answers. Quoting her directly, from about a month ago, "If they cannot type something into their phones and get an instant answer they're not interested."
- Avamander 3y ago> There are cultural and political ramifications that make enforcing this difficult (read rich parents that want those good grades). Seems to be a reason behind a lot of things wrong with school right now.
- disqard 3y agoI saw a post on reddit a while ago that described this terrible situation: ...a kid was tasked with researching Peru "in the news." After 10 minutes I went to check on them and they had nothing done. They told me there was nothing about Peru in the news and showed me their Google search results. They had googled "in the news" only. They didn't include the word Peru in their search. Not only did they not use the technology correctly but they didn't ask for help or say anything after their one attempt to get information failed. They just sat there. source: https://ol.reddit.com/r/Teachers/comments/1axhne2/the_public_needs_to_know_the_ugly_truth_students/krockyu/ https://ol.reddit.com/r/Teachers/comments/1axhne2/the_public...
- wuj 3y agoI agree with the emphasis on high-level thinking and problem decomposition in current curriculum. The real craft of writing a program is abstracting components to interface with each other. AI tools suck with unclear instructions but excel at low-level implementations. The curriculum at my university is already designed to teach us the design and problem solving solving skills, and oftentimes I found those skills quite complementary to what AI tools can do.
- epolanski 3y agoI'm always surprised about the comments in these threads. Genuinely seems many feel threatened by these tools that they need to emphasize the shortcomings. And don't forget some random line about having studied algos in college and being able to reverse a tree, ugh...
- foota 3y agoImo there's a difference between criticizing industry use and learning. If you haven't learned to code, but just to tell an LLM what you want, you will not be a successful software engineer. There's no difference here in my mind between cheating and the models. If someone holds your hand for all your homework in school, you're not going to learn, whether that's a person or a language model. So if AI advances in 4 years to the point where we're all deprecated, then fine, a student learning it got lucky. But otherwise, you're setting yourself up for failure if you lean too heavily on LLMs.
- Izkata 3y agoExample: Using a calculator in school when learning how to add/subtract/multiply/divide.
- Rury 3y agoIDK, it seems to me that the people who genuinely feel threatened by AI, are the ones that are impressed by it and/or fear it will only get better. Whereas those pointing out the shortcomings, and/or know it will always have its shortcomings, don't see any reason to feel threatened.
- TillE 3y agoI really wonder about the programmers who feel threatened by LLMs. The vast majority of my daily work in software engineering does not remotely boil down to "write code for a discrete isolated task". It's all about solving difficult problems in a complex, interconnected system. Feature requests which require previous assumptions to be thrown out and new architectural decisions to be made. Can current LLMs help with that? Almost never. What about in 5-10 years? Probably a little more, but I'm extremely skeptical that they'll ever reach beyond the tip of the iceberg.
- m3kw9 3y agoIt’s important to know exactly why the code works once it does, you could avoid it but it will catch up to you because that code may have a bug in some exceptional cases
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- keyle 3y agoWhen I was in school and search was becoming a thing, the teacher said something that resonated with me for all these years. "It's going to be less and less about knowing, and becoming more and more about knowing where to find the answer". That held true for search and that holds true with AI coding assistant. From knowing how to use google search, to knowing how to prompt to get a reasonable clue. We've just added a new meta to the problem solving puzzle: is the computer giving me the right answer or is it confidently throwing me a red herring. We've gone from knowing the code we run, to barely understanding how the compiler does it, to having no clue what is happening... Soon enough someone will invent an OS where everything is done by speech or thoughts; and typing on keyboard will become a thing of the past, like hand writing... Programming will be done on the fly by the user's request and the computer will be compiling and executing it with a high degree of confidence. This is a future that is more likely to happen before the thinking machines really happen.
- AlienRobot 3y agoI've observed another meta as well: IDEs/language servers. I was writing a Wordpress plugin and by default in PHP all function definitions are global, e.g. is_single that WP defines is global. Naturally to avoid conflicts you would use a namespace, but since most of the examples I saw used prefixed function names, I decided to try that as well. In my opinion, coding just feels much clearer when you prefix all your names, like my_library_my_func. When I see my_library_, I just immediately know that is my code. If you use different prefixes for different modules, you can tell from a glance which modules a piece of code interacts with. In C++, you can tell a random word is a field by the simple fact everyone prefixes them with m_. I've seen people using prefixes for pointers as well. This is the same concept you have when designing an UI. Everyone agrees a problem with hamburger menus is that you don't know what's inside the burger until you click on it. If you want people to be aware something exists, you need to make it appear on screen, explicitly. Instead, languages have evolved toward the very opposite. We ran away from self-documentating variable names and prefixes, and toward namespaces, "const" and other keywords, and "OOP" that feels less object-orientated and more press-the-dot-key-to-get-a-list-of-methods orientated. We depend on docstrings that show in the IDE, and then on auto-generated documentation from those docstrings. Typescript is probably the worst case of this, because it gives you a lot of tools to make the dot work the way you want, you'll spend way too much tinkering with the dot instead of just writing code that actually runs. Thanks to this, when you look at code, you have to wait until your language server figures out what you're looking at for you. If the IDE doesn't work, it's effectively impossible to code anything in many cases. But the variable names are shorter so people think it's cleaner and better, like removing features from an UI to make it cleaner.
- sasaf5 3y agoEarly 2023, when everyone started using chat GPT for coding, I thought it would be a big boost because it enabled us to quickly employ a large number of people in a project regardless of language or framework. An year into the project I am forced to revise my opinion. When browsing my code-base I often stumble in abstruse niche solutions for problems that should not have existed. It was clearly the work of someone inexperienced walking through walls in an AI-fuelled coding frenzy. Having an oracle that knows all answers is useless if you don't know what to ask.
- ramones13 3y agoI’ve had a project I’ve been doing for ~6 months learning python through Copilot+ChatGPT. It feels like any other project that accrues technical debt, but that debt is just a lot weirder. It was rough at first, but refactoring has gotten a lot better recently with bigger context sizes.
- gtirloni 3y agoIf you need Copilot to code in Python, have you really learned Python?
- raincole 3y agoDoes it really matter though? It sounds awfully like when a school teacher said you're not going to have an calculator in your pocket.
- Uehreka 3y agoThis feels kind of like saying “why do I need to learn how to budget? The calculator will just do it for me.”
- swatcoder 3y agoFor a senior-level professional? Yes, it does matter. I wouldn't be comfortable with an accountant who couldn't do practical arithmetic in their head, or a surveyor who didn't have a fluent grasp of trigonometry and the ratios or function values for common angles. Of course -- I don't care about the people working for them as a bookkeeper or assistent. They can be button monkeys as much as their boss lets them, but I also wouldn't expect those folk to reach very high in their career. Not everyone's going to, and a disinterest in and lack of technical fluency is a darn good predictor. Your teacher was giving good advice about building skills and internalizing knowledge, because those are what contribute to mastery of a craft; maybe you were just being too pedantic or cynical to hear it?
- jmward01 3y agoI tried using the pycharm copilot and that lasted a couple days. I think the UI side of picking between copilot and regular autocomplete needs to be ironed out a bit better, but I think those are short term problems. What actually stopped me was the suggestions for comments. When the grey text appeared as I was typing I realized how much it was guiding what I should think about and how hard it was to express what I wanted. I would try to type my thoughts but be derailed as I saw an alternate wording appear like an unwanted whisper that is just ahead of your thoughts. I think the same was happening in code to a large extent as well but the comments really hammered it home. The simple code is just that, simple. Taking care of the simple code may free you to think about the bigger things, but the copilot grey text whisper in my face as I am typing crushes my bigger thinking and removes all the gains from taking away the small stuff. I don't actually need to be faster at the small stuff. I need to think clearer about the big things. I will check back on this in a bit but for now my reaction is decidedly 'meh'.
- mordae 3y agoOne of my first coworkers, my senior at that time, told me that software development is 50% debugging, 40% reading and thinking and only 10% coding. Optimizing those 10% is not that important.
- olejorgenb 3y agoI haven't used the new assistants that much yet, but my impression so far is that automatic suggestions is a bad idea (at least for me). I'd rather trigger it explicitly. That way one can afford a bit more compute per suggestion as well. I think you would get a feel for when the suggestions will be useful and when they won't. One feature I think could be useful is to ask it to correct very basic errors in a section of code, but this need to be well-integrated in the editor to be worth it. This could also be automatic (the detection) - like an slightly more intelligent jetbrains inspection. I've also tried some "whole program" synthesis with mixed results. It usually can get something up and running, but almost every time it has had subtle bugs in it - fixing these (with or without the AI) often got me close or higher to what it would have taken me to do it from scratch. The advantage(?) is I might never have bothered beginning from scratch - getting the first rough draft get you immediately into iteration mode. As an example - I asked GPT-4 to write a python program reading in a json file conforming to a jsonchema[1] and transforming this into a GPX file. It ended up generating code trying to get `properties` keys from the json *file*. So it clearly did not understand the schema. Maybe jsonschema is to obscure? [1] (I provided the schema and a link to the schema standard (though I'm not sure it actually read the link))
- musicale 3y ago> “Students are early adopters and have been actively testing these tools,” That's a nice and positive spin on it.
- osigurdson 3y agoI think there is a bit of a false delta fallacy being floated here. Universities / colleges never focused on the syntax. It was always about problem solving. I think what they are saying is they will continue what they have always been doing while pretending that the past is different than it actually was.
- jlg23 3y agoExactly. 25 years ago in university none of my professors or assistant professors bothered with syntax, that was left to the compilers or interpreters of the language we were supposed to do our assignments in....
- joshstrange 3y agoWe had very different professors. 15 years ago I was writing C programs on paper and being graded on my syntax. In my first database class I lost 1pt on every question because I didn’t end my, otherwise perfect, queries with a “;”. Both are just 1 of many examples of why I found college, for computer programming, to be nearly a complete waste of time. I’m not saying I didn’t learn anything but I learned way less than I did on my own and most of what they taught was horribly outdated and didn’t take into account how you’d actually be writing code in the real world. It’s like the teachers that said “you won’t be walking around with a calculator in your pocket always”. That’s not me saying math isn’t important, it is, but it’s the same flawed argument that makes you memorize syntax as if your IDE won’t auto-complete the boilerplate for you or pretends you don’t have all of the internet at your fingerprints to look up things. It would have been much better for the professors to spend their time teaching how best to manage a project or take business requirements and turn them a spec or pseudo code. That’s a skill I actually use every day and it hasn’t changed much whereas the language I use and how I write code has changed quite a bit.
- osigurdson 3y agoI absolutely loved my university education in computer engineering. It was so great to learn about the math (lots!) and physics underpinning how computers / transistors actually work. The first year was common engineering so even had to take a couple of unrelated classes like thermodynamics and vector mechanics (with law and philosophy as options). Comp sci classes were really good as well: compiler design, databases, algos and data structures, AI, cryptogrpahy, etc. The utility of this knowledge is probably debatable but I enjoyed it very much and I think it helps at least a little bit.
- righthand 3y agoFor me it’s amazing over the course of 20 years how junior engineers keep finding new ways to commit shit code. It used to be called Javascript now it’s this.
- ergonaught 3y ago> Zingaro … now has his students work in groups and submit a video explaining how their code works. Difficult to imagine a scenario more likely to have driven me entirely away from programming. What a bizarro world we’ve created in such a short time.
- p1esk 3y agoHow many young people would be driven to programming in this scenario?
- spicyusername 3y agoWhich part is turning you off? The need to work with other people? Or the need to explain your work? Both of those are important skills in professional programming?
- joshstrange 3y agoI mean, that sounds like a form of code review, which is very standard in the industry. Is it the group aspect or recording a video that would have driven you away? I’m just a little confused.
- DotaFan 3y agoAI was incredibly helpful while learning LeetCode. Altho it's unable to reason at this point, it has was amount of info about most of the data.
- phreack 3y agoThese tools to me serve about two functions: writing regular expressions (and even then I'll tell it it's wrong once or twice before attempting to check the output), and saving me keystrokes for code I already know I'll write but is easier to describe. In both cases I already know what code snippets I want mentally, and it saves me minutes at most.
- feverzsj 3y agoNo. They still need to do tons of leetcode to get a chance to be interviewed.
- p1dda 3y agoThe real benefit of ChatGPT in coding is that it significantly lowers the threshhold for regular people to start learning coding. A.I. rarely gives a complete solution and even less so the bigger and more complex the code becomes. The truth is that in the end you will have to learn coding 'for real' because A.I. will only help with a partial solution. It's terrific for newbies because it makes it so easy to start coding right away and get results with simple and small tasks.
- jillesvangurp 3y agoExactly, AI support in IDEs useful for more than just producing ready made solutions. In fact, it isn't really good at that because of context size limitations (most non trivial sized code bases are simply too large). And it will make mistakes, omit stuff, etc. But, I've used it to review, debug, document, test, and explain code. I occasionally use it to stub out a solution but usually it then requires manual tuning. Any modestly complex algorithmic stuff it usually makes lots of mistakes. But it is able to spot uncovered edge cases, or suggest ways to test algorithms. I think more of it as an artificial pair programmer pointing out my mistakes, and helping me be more productive. It's also good at figuring out syntax issues. Often when dealing with languages I'm less proficient in the main battle is simply figuring out how to do X in a language. If you are trying to learn things like Rust (which is hard to learn), AI is your best friend. Because it can explain you your code, your mistakes, and suggest alternate ways of doing things. All you need to do is ask. Remembering to do that is the hard part.
- p1dda 3y agoAgree on everything, it's such an amazing tool it's almost unreal.
- surfingdino 3y agoI am skeptical. Well before AI co-pilots something happened to the good old admins--they started to disappear only to be replaced by "AWS devops" (their job titles) who have never wired a network using routers, switches, and cables. I noticed that they started lacking basic networking knowledge and couldn't set up networking inside AWS. They just didn't know what a gateway, NAT, or subnet is. Similar things are happening with AI co-pilots. We have an increasing number of people who "write code", but the number of people who can understand and review code is not increasing. There is also a problem of injecting ethics and politics into those tools, which can produce silly results. I asked Bard to write me a Python function to turn the US Constitution into a palindrome. Bard refused and gave ma a lecture on how the US Constitution is too important to be played with in such trivial fashion. I then asked it to produce code that turns the US national anthem into a palindrome, it refused again. So I asked it do the same but with the Russian national anthem and it spat out code without telling me off. I then asked it to generate code for simple tasks and it did an OK job, except the formatting and the fonts used were different every time, because it just lifted code from different webpages and recombined it like a massively hungover student waking up to realise he's supposed to hand in the assignment in one hour.
- ben_w 3y agoSounds about right. I'm very impressed with the best models — but, because I remember how awful NLP used to be, "very impressed" still means I rate the best as being around the level of an intern/work placement student most of the time, and even at their best still only a junior. It's great, if you're OK with that. I've used GPT-3.5 to make my own personal pay-as-you-go web interface for any LLM that's API-compatible with OpenAI despite not being a professional Web Developer. It's fairly fragile because it's doing stupid things to get the "good enough" result. Bu that's OK, because it's for me, I'm not selling it. (As for the lesser models… I asked one for a single page web app version of Tetris; it started off lazy, then suddenly switched from writing a game in JavaScript into writing a machine learning script in python!)
- jiggawatts 3y ago> They just didn't know what a gateway, NAT, or subnet is. If you ask me, they shouldn't have to, in the same way that you probably don't know how to diagnose a coax cable problem. The major public clouds all have completely software-defined networks (SDNs), and concepts like subnets are basically emulated for the sake of legacy systems. Why would we want subnets, like... at all? Why can't all systems just have an IP address and use point-to-point communications? That's literally what the underlying SDN does with the packets anyway! The subnets and routes you see don't map 1:1 to the underlying network. The packets are stuffed inside a VXLAN packet and routed between random hypervisors scattered randomly across multiple buildings. Just give up the pretence, give everything an system-assigned public-routable IPv6 address and be done with it. Better yet, auto-register everything in a private DNS zone and auto-generate internal use SSL certs too. The amount of wiring we do manually is just insane, just so that Azure and Amazon can help greybeards pretend that they're operating a Cisco router and need to stand in line to file the paperwork required to get an SSL certificate.
- matthewsinclair 3y agoI keep telling anyone who gets overexcited about gen-ai and coding that software engineering is “20% syntax and 80% wisdom”. LLMs are great at syntax but less great at wisdom. Perhaps this won’t be true for all time, but it’s true enough for now. Refreshingly, it seems I’m not the only one who thinks so.
- k__ 3y agoThey are nice. Not magnitudes better than IntelliSense, but noticeable. In day to day coding work it probably saves a few hours a month.
- arnaudsm 3y agoMy sister had her first Python class in college. She used an LLM successfully for all her class exercises during the year. But during her final year project, she got stuck. The task got too hard for her and the LLM. The learning curve was broken. Like a game designer that gives the player increasingly powerful items, educators should preserve that curve, or it becomes impossible to learn anything.
- spicyusername 3y agoAfter using these tools, I feel like they are only good at producing code that is already simple to write if you know what you're doing. Basically if your problem fits neatly into something that would have appeared in documentation or directly in a Stack Overflow post that the training data vacuumed up, you might get something usable. For anything even slightly non-trivial, I always spend more time fighting the prompt than I would have if I just sat down, read the docs, and thought a little about the problem. And this doesn't even get into things like style, readability, etc. Maybe this will change with later incarnations of these tools, but a cursory understanding of how these tools work make me suspicious. How can something that, from first principles, generates statistically random output, produce reliably functioning code for large non-trivial tasks? That's a very very different requirement then producing something like a poem or summarizing meeting transcripts, where a little randomness is expected and nearly all the training data is in the right format of regular human dialogue? There's no intelligence in these tools, just regurgitation. The exact opposite of what you need for solving software engineering problems.
- j7ake 3y agoSimple for you is not simple for a beginner. For example, let’s say you wanted to write code in a language you did not know. Then these simple tasks can be accelerated because you’re not blocked by syntax errors.
- IshKebab 3y agoI agree they're best at simple things and things that are talked about on the internet a lot (they're pretty great at parsers for example). But... a significant amount of code is simple. Even in complex projects there's still a lot of trivial code. And even when they produce something wrong, it's usually still faster than starting from scratch. At least for smallish bits of code. Though admittedly it can be a bit more frustrating on occasion because you're doing something more like code review and who doesn't hate code review?
- hackernoteng 3y agoTechnology always has a weakening effect. AI copilots will make us lazier and produce more buggy code. It can increase productivity for certain boring tasks (generate a bunch of empty classes, etc.). It can increase productivity for early on in projects. Otherwise it's just a crutch.
- CPLX 3y agoI personally disable every key on my keyboard except the 1 and the 0 as soon as a get a machine. 01001001 00100000 01100001 01101101 00100000 01101110 01101111 01110111 00100000 01110110 01100101 01110010 01111001 00100000 01110011 01110100 01110010 01101111 01101110 01100111 00001010
- ShamelessC 3y ago:shrug: Well, I thought this was funny. For what it's worth.
- p0w3n3d 3y agoMy experience with GitHub copilot is that I have to pay double attention to not let in anything stupid. The best are suggestions for what should be printed in logs.
- fma 3y agoProfessors think syntax isn't important anymore? Then there will be more programmers who don't know the difference between =, == and ===.
- jasinjames 3y agoI think I agree with your point (I would pick a different example, though) LLM programming removes the need to write tedious code, which means the author has fewer opportunities to ask themselves if there are easier ways to model the problem they're solving. We would never have gotten language features like Objects, Iterators, first-class functions, and exceptions if all of the boilerplate to emulate those features could be autogenerated so easily. Going forward, there will be less impetus for programmers to pick better languages and abstractions for their work, since the boilerplate cost of picking the wrong one is subsidized by the llm. So I think the issue isn't so much that people won't know the syntax rules and bizzare-semantics trivia, but that people won't realize that the syntax rules could be different and that the whole point is for them to make your life easier.
- fredgrott 3y agoAi copilots are taking raw non measured code and treating as all equal to each other....its about like taking a few answers from A students and a whole lot of answers from D students and will only produce a sh*t-stained result. Its emphatically why I do not use any AI in my VSCode IDE...as you cannot trust the damn evaluation where each raw input is treated as the same every other input... We devs use the same damn reasoning for developing a special set of lint rules as those pertain to the exp of coding and what things we want intended in our code constructs according best practices... In short words, fluency is practice in both mistakes and corrections....there emphatically is no other way towards code fluency!
- Barrin92 3y ago>Less Emphasis on Syntax, More on Problem Solving Absolutely atrocious idea, but not really novel. The idea that you can go through shortcuts and remove rigorous training in CS has been happening all over higher ed, it's why every new generation of CS graduates to be frank feels more clueless than the last one. I include myself in this to some extent, my university education about 10 years ago already felt like a glorified bootcamp and I had to learn a lot myself. But I do thank at least one prof I had for having us take tests on paper and deduct one point for each syntax error, it's probably why I pay at least some attention when I write code. Saying programmers should not focus on syntax and this "it's just like, concepts bro" is such a pothead mentality, it's like saying you can be a great novelist if you need to use auto correct on every third word because spelling doesn't matter. Find me one great novelists who does not have an excellent grasp on language because you have spelling assistants. If you don't have precision, a grasp on the mechanics and memory and the fundamentals down you'll be worse than useless in any discipline.
- jononomo 3y agoI was just using ChatGPT 4 to write a bash script for me, and it was taking so long that I began to think "I could type this out faster myself".
- dukeofdoom 3y agoHaving great taste will be the most valuable skill. Artists like Picaso trained their eye, then he painted his masterpieces. You don't have to play an instrument now to make music on computer. Elvis had very basic guitar playing skills yet played amazingly beautiful songs that moved millions of people. Being able to pick out what Ai generates with taste is what will count.
- sega_sai 3y agoI am not convinced. I am teaching a numerical techniques course in python. I have been thinking of how to use the LLMs for the course but haven't found the way that doesn't short-circuit learning. I.e. the analogy that I came to mind is, when you are learning multiplication table, the calculator is not useful, it only useful when you already know the table and need to multiply large numbers. Similarly, when learning basic coding techniques having an LLM is not useful as well.
- theptip 3y agoI think this trend will cut both ways. I have seen engineers, including senior-level, who think their job is just to write excellent code. This breed is doomed. I have also seen juniors with amazing ideas and ability to iterate, who get that the job is delivering value to customers, who are held back by their lack of expertise in the craft. This breed will flourish. The old maxim “90% perspiration 10% inspiration” may shift as automation provides more leverage. This could be great for younger, less-entrenched, more-flexible students.
- cdme 3y agoI'd much rather mentor a junior dev than fight with and review chaff from an LLM.
- Havoc 3y agoNot sure this is a good idea. A bit like I personally think teaching programming in a typed language is a good idea so that the kids internalize that conceptually before they jump to a lang with auto casting. Same with the tools...I think there is value in doing it the hard way initially.
- mort96 3y agoThis is probably bad, right?
- kwhitefoot 3y agoI'm glad I grew up in a time before computer science degrees were common. I learned to write Algol 60 (1969), Basic (1970), Fortran (1974), Z80 (1978), 6502 (1981), all simply as tools to solve a problem. Were we ahead of time then in emphasizing high level thinking?