r/PHPhelp • • 3d ago

10 years in WP/PHP, learning Headless (React/Next.js) - anyone else struggling with manual coding after heavy AI use?

/r/Wordpress/comments/1y61zq9/10_years_in_wpphp_learning_headless_reactnextjs/
0 Upvotes

15 comments sorted by

4

u/equilni 3d ago

What is the PHP question here?

2

u/MrDubious 3d ago
function getMoreKarma(){
  if (!getKarma){
    crossPost();
  };
}

0

u/dineshinau 3d ago

Fair point. PHP is my background here, and the question is really about learning React and Next.js for headless WordPress. I’ll keep the discussion in r/WordPress.

4

u/equilni 3d ago

I thought the question was anyone else struggling with manual coding after heavy AI use?which is a general programming question for a sub like r/programming as it's not specific to r/wordpress either.

When I use AI while studying, I understand the output, but I still struggle on a blank screen. When I turn AI off completely, everything feels painfully slow.

Note, this isn't specific to a software stack, programming language or programming in general. One still needs to learn the subject if you are new to it. We, as humans, should still continue to learn new things and work our brains as if we are going to the gym to work out. (thanks for reading my ted talk lol).

Otherwise, just let AI do everything if you are that heavily reliant on it. Don't think, instruct.

3

u/Past-Paint87 3d ago

I do not think you should consider "manual coding" as your job anymore. It evolved. Now you need to know how to manage, instruct and review AI generated code (my personal opiniion)

4

u/equilni 3d ago

review AI generated code

If you are reviewing the AI code, then you need an understanding of it, which is part of OP's question too. Otherwise, you are instructing another agent to do the review.

1

u/dineshinau 2d ago

Exactly. Reviewing AI-generated code takes enough practice with the stack to spot mistakes and explain why they matter. That’s the muscle memory I’m trying to rebuild by writing and debugging more code myself.

2

u/Past-Paint87 2d ago

Its not option either. Reviewing all AI generated code does not reduce amount of bugs. Instead I believe its better to use other AI stack/skill/agent to review initial work and iterate. AI often use shortcuts you would not normally use and makes harder to understand - but more effective. I rather focus ensuring code is compact, stable, follow standards of existing code base, etc etc many instructions.

1

u/magicmulder 2d ago

You should do both. Another model to catch deeply hidden bugs that a human would not find anytime soon, and your own review to understand what the implementation does and whether the AI made conceptional mistakes.

1

u/dineshinau 2d ago

Turning off AI on real projects isn't an option anymore, even if we wanted to—client deadlines and expectations make it mandatory.

The dilemma is purely about learning a new stack. Going 100% manual feels way too slow in this market, but relying on AI means you never truly internalize the fundamentals. And without those fundamentals, you can't confidently review what the model spits out, nor can you walk into technical interviews feeling solid on a blank whiteboard.

2

u/MateusAzevedo 2d ago

Read it again. Post has a pretty important part about learning a new stack/language and doing it by hand to practice.

2

u/magicmulder 3d ago

> anyone else struggling with manual coding after heavy AI use?

Not really, it's like riding a bicycle.

Monday I came back from a week of vacation and immediately coded the first ticket entirely myself. Granted, it was not very complicated, but I didn't feel like starting work again with another prompt.

1

u/dineshinau 3d ago

That makes sense. I think I’m dealing with two things at once. I’m getting back into the habit of writing code myself while learning a stack I’m less familiar with. Does it feel like riding a bike for you when you’re learning a new stack too?

2

u/magicmulder 2d ago

I haven't stopped being able to quickly learn new things if that's what you mean. In fact, outsourcing the "dirty work" like frontend stuff has enabled me to spend more time looking into new technologies or new approaches (things like Elasticsearch for example).

2

u/nightm4re1911 2d ago

Headless WP - what is this?