Computer science coding classes deemphasize syntax as professors teach higher-level skills in AI era

zohaibahd

Posts: 976   +19
Staff
Forward-looking: For computer science students, generative AI isn't just the future – it's the present. These smart language models are already reshaping how the next generation of programmers learns to code, with teachers giving their approach a whole new spin.

A report by IEEE Spectrum has shown how generative AI is transforming academia. Students are using AI assistants like ChatGPT to grasp thorny concepts, summarize dense research papers, brainstorm ways to approach coding challenges, and prototype new ideas. Essentially, AI has become the ultimate study buddy for CS majors.

Professors can't ignore the AI wave either. They're experimenting with how to fold generative AI into their curricula while still ensuring students master core programming skills. It's a delicate balancing act as the technology rapidly evolves. "Given that large language models are evolving rapidly, we are still learning how to do this," Wei Tsang Ooi, an associate professor at the National University of Singapore, told the magazine.

One major shift is putting less emphasis on code syntax and more on higher-level problem-solving abilities. That's because with an AI assistant available, the hard part isn't writing code from scratch anymore. It's properly testing that code for bugs, breaking down large problems into smaller steps the AI can handle, and knitting together those steps into a complete solution.

Ooi notes that other crucial aspects of software design are the intangibles, such as identifying the correct problem to address and exploring potential solutions. He suggests that students should devote more time to optimizing software, considering ethical implications, and enhancing user-friendliness, rather than concentrating solely on coding syntax.

Tools like GitHub's Copilot are already doing the heavy-lifting for programmers – and their role in coding is only set to go upwards from here.

Another professor teaching at UC San Diego told the magazine that students need to practice skills like decomposing problems into digestible pieces for an AI. "It's hard to find where in the curriculum that's taught – maybe in an algorithms or software engineering class, but those are advanced classes. Now, it becomes a priority in introductory classes."

Professors are getting creative with assignment designs and grading methods. Daniel Zingaro at the University of Toronto Mississauga now has student groups submit video walkthroughs explaining their AI-generated programs, rather than just sharing code files. It allows him to evaluate their overall software engineering process.

Ooi says AI tools provide instructors flexibility to teach those higher-level skills like design, optimization, and considering ethics and user experience. Students' time is freed up from wrangling syntax.

But there are pitfalls to avoid with generative AI's current limitations around occasional hallucinations and lack of true understanding. Professors caution that students can't just blindly trust an AI's outputs; they must verify solutions themselves and maintain a skeptical mindset.

"We should be making AI a copilot – not the autopilot – for learning," Johnny Chang, a teaching assistant at Stanford University, advises in the report. Critical thinking matters and overreliance on AI tools can "short-circuit" the learning process.

There's optimism, though, that a proactively evolving pedagogy like this will pay dividends by better bridging the gap between classroom lessons and real-world job demands.

Tech CEOs have maintained similar (albeit harsher) views to these professors. Nvidia's Jensen Huang suggests coding skills may become obsolete in the near future, thanks to AI. If true, cultivating higher reasoning abilities over syntax knowledge could prove crucial for future job prospects. Emad Mostaque of Stability AI even predicted last year that most outsourced coders in India will be replaced by AI assistants by 2025.

Permalink to story:

 
So they're teaching people how to have AI write scripts for them, not how to actually program. I can't wait to see how these new students do at debugging without actually learning how to program.
It just matches everything else these days. How many gen z know how to change a tire? Replace a fuel pump? How about plumb a sink or replace an electric socket? Hell how many can figure out how to paint a house?

Gen Alpha will probably need AI assistance to make a sandwich with the Subway app.....
 
It just matches everything else these days. How many gen z know how to change a tire? Replace a fuel pump? How about plumb a sink or replace an electric socket? Hell how many can figure out how to paint a house?

Gen Alpha will probably need AI assistance to make a sandwich with the Subway app.....
It will probably be worse than that. Gen Alpha will probably need AI to take a crap.
So they're teaching people how to have AI write scripts for them, not how to actually program. I can't wait to see how these new students do at debugging without actually learning how to program.
Absolutely. There was a book written back in then 90's or so that was called "Writing Solid Code" which said that after writing your code, walk it in a debugger and exercise all conditional statements to write the best possible code -or at least something along those lines. I've been following that advice ever since then and it usually does not fail me. Using a debugger to help programming efforts is essential, IMO.
 
students need to practice skills like decomposing problems into digestible pieces for an AI.

Knowing how to decompose a problem into smaller pieces requires knowing what the smaller pieces are. It's like asking them to decompose the problem of building a house without knowing anything about plumbing or electrical wiring, or structural support.

But this is definitely the way of the future. As distasteful as it is, I there's no way we'll beat them so might as well join them.
 
So they're teaching people how to have AI write scripts for them, not how to actually program. I can't wait to see how these new students do at debugging without actually learning how to program.

Easy, the first few steps are to tell your AI your desired behaviour, give AI your stacktrace, give AI access to your source code and follow AI suggestions.

If AI doesn't manage to find the solution, either tell him he is wrong and it's something else so he can guess again or use your own brain.
 
Jesus christ .. this is how humanity dies. some day on the next generation no-one but a few super mega overpaid people will understand how a INCLUDE works or how to write assembly for a 100mhz FPGA ...
Well, good for those few that wont forget how to think. And then maybe, they will unite and rule the world of stupid people.
 
Professional Software Engineer speaking:

Putting aside some isosteric languages and platforms (LabVIEW comes to mind here), syntax generally isn't that hard to pick up going from language to language. As long as you understand how to properly architect a problem, figuring out how to do it for any given programming language is just a google search away.

I've seen time and again programs developed by groups of what I call "language experts". These programs utilize all the newest language features, and look well designed at a glance. Then you actually try and use the thing. Oh, making any type of structure change requires modifying about fifty headers because you changed the template. Oh, that part of the program just takes a while to finish; we're too busy with development to debug it. Oh, don't hit the buttons in that order; it causes the program to crash for some reason. And don't even get me started on "performance".

Give me an engineer who can think through the correct solution to a problem "before" they write a line of code over one who knows a language in and out any day.
 
So they're teaching people how to have AI write scripts for them, not how to actually program. I can't wait to see how these new students do at debugging without actually learning how to program.

That's not exactly what the story says though... like @gamerk2 comments above, a positive change to bring would be focusing education less about knowing a language or syntax, and more about critical thinking, problem solving, etc.

From the story:
Ooi notes that other crucial aspects of software design are the intangibles, such as identifying the correct problem to address and exploring potential solutions. He suggests that students should devote more time to optimizing software, considering ethical implications, and enhancing user-friendliness, rather than concentrating solely on coding syntax.
 
That's not exactly what the story says though... like @gamerk2 comments above, a positive change to bring would be focusing education less about knowing a language or syntax, and more about critical thinking, problem solving, etc.

From the story:
So l tend to focus on satire in my posts so I'll explain exactly why I think this is a problem. The people who are good at critical thinking and problem solving have very little issue picking up new languages or understanding syntaxes. My issue with this is that I fear it will mask the bad students from the good ones. Since they never learned to code properly, their short comings in programming will only appear when the AI makes mistakes they can't fix.

This will lower the bar, creating a larger number of bad programmers while we have the same number of competent programmers entering the workforce.
 
Syntax is far and away the easiest part of programming. If that’s a hang up for you, you’re just not cut out for the field. Even in an era where machines are writing the code for us, how would you check the output without understanding the language syntax? That’s like trying to proof read an AI-generated essay in a language you can’t read, and LLMs are not even close to good enough to take off the training wheels yet. Maybe they will be in a few years, but being a prompt engineer is like being an “HTML and CSS developer”. You have a fraction of the skill set actually required to do the job, and once you need to produce any novel logic, you’re screwed.
 
It's a delicate balancing act as the technology rapidly evolves.

There will be no balance going forward, the scales will be tipped entirely in AI's favour and the dumbing down of coders. Any third rate dolt will embellish their CV and stroll into a job ahead of real coders totally relaiant on their copilot. Can't wait for this next gen of coders to be doing the safety systems for Boeing, Tesla , nuclear powerplants and the like.
 
It's a delicate balancing act as the technology rapidly evolves.

There will be no balance going forward, the scales will be tipped entirely in AI's favour and the dumbing down of coders. Any third rate dolt will embellish their CV and stroll into a job ahead of real coders totally relaiant on their copilot. Can't wait for this next gen of coders to be doing the safety systems for Boeing, Tesla , nuclear powerplants and the like.
We shall go back to basics: horses, galleys. Slow but safe.
But to be serious, I still think that despite the great scope of what AI can do,
it will just end up like one of the things that ads to the rest of our technological aids.
Remember when people could write without autocorrect? I do. When people remembered their cellphone numbers and addresses. Yes, some things will be forgotten, and some coders definitely sent to retirement. But not all of them. It is just another step in humanity when we need to teach our kids more to stay up to date. And I mean this is what we always did. Imagine a high school 300 years ago.
We will be alright. Unless we won't.
 
Some syntax is still needed. There needs to be some sort of balance otherwise they are learning only a small part of what programming is and will not have important knowledge that allows them to better understand the code they are working with or writing.
 
Some syntax is still needed. There needs to be some sort of balance otherwise they are learning only a small part of what programming is and will not have important knowledge that allows them to better understand the code they are working with or writing.
Software Engineer again: Google is your friend.

Granted, there's always an issue with not knowing the "best" way to do things in a given language (C/C++ are notorious in this regard), but by the same token, a course or two in college and a few programs that come in at just a few thousand lines isn't going to achieve that goal either.
 
Software Engineer again: Google is your friend.

Granted, there's always an issue with not knowing the "best" way to do things in a given language (C/C++ are notorious in this regard), but by the same token, a course or two in college and a few programs that come in at just a few thousand lines isn't going to achieve that goal either.
As a programmer, I do agree "google is your friend". There is just too much to learn and remember. But after dealing with so many jr programmers that could not understand wtf they are looking at... google was useless (and I'm talking about beginner level JS code, nothing special).

The lack of basic skills is very worrying. Forget syntax, when they don't know the difference between the WAN IP and the LAN IP, I feel like crying. Am I asking for too much from a supposedly tech-savvy person?
 
The lack of basic skills is very worrying. Forget syntax, when they don't know the difference between the WAN IP and the LAN IP, I feel like crying. Am I asking for too much from a supposedly tech-savvy person?
To be fair, those are things you typically learn by doing. Which is how most learning is ultimately done.
 
Well, good for those few that wont forget how to think. And then maybe, they will unite and rule the world of stupid people.
Those making us stupid are already ruling and this is their strategy : making us dumber and dumber.
 
That's not exactly what the story says though... like @gamerk2 comments above, a positive change to bring would be focusing education less about knowing a language or syntax, and more about critical thinking, problem solving, etc.

From the story:
Julio, I could ask you this in any number of articles from this website, but this one is the latest example, so I might as well ask it here. Are you happy with the user community in this website? Is this community of insufferably cynical, pretentious, right-wing old farts eager to spin every topic as negatively as possible, that makes reading any comment section on this website a miserable experience, something you guys are proud of? Did you guys intend to cater to this demographic from the start, or was it something that grew outside of your control and now you guys just have to tolerate it?
 
Julio, I could ask you this in any number of articles from this website, but this one is the latest example, so I might as well ask it here. Are you happy with the user community in this website? Is this community of insufferably cynical, pretentious, right-wing old farts eager to spin every topic as negatively as possible, that makes reading any comment section on this website a miserable experience, something you guys are proud of? Did you guys intend to cater to this demographic from the start, or was it something that grew outside of your control and now you guys just have to tolerate it?
I was banned on Arstechnica for saying in comments that their apocalypse prediction due to Trump being a prez will not happen. It is hilarious watching back on those predictions when left leaning writers swore by their mothers that he will destroy this country.
Flamingo, friend, is that the kind of non right leaning tech website that you would like better? Between websites that used to ban users for wrong opinions and the ones filled with "cynical right-wing" dwellers, which one do you prefer more? That time period was a good time because I learned that there are places managed by people who could not respect other people who simply "were wrong". Do you know what caused the rise of many smaller alternative platforms? That! "You are wrong, therefore you will not speak." Multibillion corporations decided that there is a large group of people that will one day just stop talking. And I also think people would be a lot less cynical if they were treated with equal respect. Most of the social media industry is left leaning, pandering to one very specific group of people, bashing the rest.
You do not have to agree to a single word anyone writes here. But if you happen to be one of those people who think people can/might be "phased out" if they are wrong leaning, then maybe you also helped create this reality.
 
I was banned on Arstechnica for saying in comments that their apocalypse prediction due to Trump being a prez will not happen. It is hilarious watching back on those predictions when left leaning writers swore by their mothers that he will destroy this country.
Flamingo, friend, is that the kind of non right leaning tech website that you would like better? Between websites that used to ban users for wrong opinions and the ones filled with "cynical right-wing" dwellers, which one do you prefer more? That time period was a good time because I learned that there are places managed by people who could not respect other people who simply "were wrong". Do you know what caused the rise of many smaller alternative platforms? That! "You are wrong, therefore you will not speak." Multibillion corporations decided that there is a large group of people that will one day just stop talking. And I also think people would be a lot less cynical if they were treated with equal respect. Most of the social media industry is left leaning, pandering to one very specific group of people, bashing the rest.
You do not have to agree to a single word anyone writes here. But if you happen to be one of those people who think people can/might be "phased out" if they are wrong leaning, then maybe you also helped create this reality.
hundreds of thousand dead because of an inflated ego is not the apocalypse? Trump literally took the US back more than a decade in both internal policies and external policies.

yeah, trump did destroy the US. the current situation in the US is because of him and his "you an enemy". he literally split the country in two and created a pseudo civil war. and it's pathetic to see people still defend that criminal.
 
Back