Live data from Hacker News

Ask HN: How much coding should beginners learn in the AI era?

news.ycombinator.com

41–50 of 73 posts

Re: Ask HN: How much coding should beginners learn in the AI era?

#42
Of course, for example, a Civil Engineer learns integrals, so it can learn advanced engineering topics.

It may not often use them often as it uses software, or it may not remember all integrals rule tables, but it understands the concept, it's usefulness, and in case he needs it, he can figure out a way to work it out.

This is the same for Software Engineering and code. You don't need to have written the HTTP protocol library in order to use it.

I haven't written a single line of code since more than an year, but I've made the AI write multiple thousands of lines of code since then.

It's just a calculator. You still need to know how to use the calculator and for what purpose do you use it.

What changed is that you no longer will need to learn all ins and outs of coding.

Re: Ask HN: How much coding should beginners learn in the AI era?

#43
I'm a CS professor at a primarily undergraduate college. I teach our intro programming course most years and also teach upper-level classes in AI and software engineering.

I've used agentic tools with no restrictions in my upper-level classes and also in a new programming course for non-CS students. I've seen several examples of students using an agent to crank out version .01 of a program, but then have no idea what to do next, because they don't understand what changes are even possible or how to guide the model to add new features.

AI coding deemphasizes knowing specific language features or frameworks, but requires having a careful, structured development process. Memorizing the syntax of library functions is less important, but you need to know the language of software design and how the features of your program are implemented, even if you're no longer writing individual lines of code.

Breaking a design into independent units is important for revision and testing. You want to keep AI generations small and focused, which requires knowing where and how features are implemented.

We're also moving past the tokenmaxxing trend and swinging back to cost-conscious AI use. Classical CS knowledge will help you choose algorithms and systems that can minimize token consumption.

My advice would be to take a standard CS 101 course that teaches the fundamentals of structured programming in Python or another standard language. Focus on understanding how to write loops and functions and use basic data structures. Use AI tactically to help with debugging and understanding code, but do most of your writing by hand - don't generate entire programs yet. Ideally, this will happen in a class with an expert who can observe and guide you. I have some resources from my class that may be useful:

https://github.com/dansmyers/IntroToCS

After that point, you can start introducing some AI coding and gradually build up the size and complexity of your programs. Learn about software design and object-oriented programming, security, and fundamental systems. We are moving most of this content earlier in the curriculum, so students see it in the first two years, rather than waiting until elective classes. The details of data structures and algorithms can probably come later, once you have more context for where they're useful.

Last point: I teach the specs-driven development process in all of my classes. It's the best way to approach more complex projects. Prioritize creating ambitious projects that do interesting things.

Re: Ask HN: How much coding should beginners learn in the AI era?

#44

I'm a CS professor at a primarily undergraduate college. I teach our intro programming course most years and also teach upper-level classes in AI and software engineering. I've used agentic tools with no restrictions in my upper-level classes and also in a new programming course for non-CS students. I've seen several examples of students using an agent to crank out version .01 of a program, but then have no idea what…

Thanks for the resources!

Re: Ask HN: How much coding should beginners learn in the AI era?

#45
Most people in big tech companies relying on AI to code already know how to code. AI is an addition to their skills, and it makes their work even faster. People who don't understand coding to some degree can't use AI to code because they lack basic skills like deploying the code AI writes. I understand you're worried that coding will no longer be a valuable skill in the future, and you are right to be worried because of all the layoffs and other AI created crisis, but you should still learn to code because tech will always need coders in the future. Plus, humans who can code are the ones who check the code AI writes most of the time.

Re: Ask HN: How much coding should beginners learn in the AI era?

#46
post #21

None. My company is hiring anyone who can use a computer and having them produce code via AI then review via AI and that is that. I was told to stop writing any code 6 months ago and haven't written a single line since. Not sure learning anything is worth it anymore, I'm shown every day at my company how they are replacing me directly and no longer have "devs" or "IT". They now call "IT", Digital Services and it can…

That is a very unusual experience and not at all what happens in general. Quite the opposite. The more skilled you are, the more effective you can apply AI to solve problems. I suspect your company is destined to hit a maintenance/AI slop wall at some point in the future. My recommendation is to polish your CV and find another job ASAP.

Re: Ask HN: How much coding should beginners learn in the AI era?

#48
If you want to program you need to know enough to be compatible with the people who are already there. Historically hiring developers is just about putting bodies in seats.

If you want to be in management soft skills and written communication are more important, but you still have to know enough to call bullshit and ask questions other people are not comfortable asking.

That’s all you need to know.

Re: Ask HN: How much coding should beginners learn in the AI era?

#49
just enough to call the API, provide input, and get result. it's markdown in and out. once you have that, you have everything up to maximum context. just avalanche the context until you can't afford the request, summarize, and start over. coding without ai is similar to not using internet. do you know how calculator works? you might not be able to do long division right now, but the government doesn't prevent you from using or knowing how calculator works.

Re: Ask HN: How much coding should beginners learn in the AI era?

#50
Critical thinking is the highest value ability that a human can have. Synthesizing information is the next one. These go hand in hand. In an era where coding languages are being replaced by prompting you need to be the visionary that sees that future for you and the machines. In 10 years time brain interfaces will allow us to think through the machines and manually writing code will be a fun educational activity in the Science museum.
Post reply on HN