Programming top tip when working with AI and JS - Just like PBN's LOL

Kaia

New member
Joined
Jun 12, 2024
Messages
3
Points
1
Just like a good PBN is supposed to be 1 link = 1 website.

So I discovered that when programming JS with chatgpt (for WP plugins) its best keep the same rule 1 function = 1 file.

I had multiple calls happening all over the place and found it challenging to solve simple conflicting issues, but I'm just rewriting from some of my more advanced stuff to be the one rule, and it already fixed, like duplicate calls and unexplained non-understanding of what is happening completely.

Also ask chat to drop more logs than the morning after a hot curry, you will never regret it, lol.

Maybe I'm more of a noob than most people who probably would be ill at a thought, but I got inspiration from a typescript GitHub that looked like that for a library; every folder had more subfolders that were parts of the functionality.
 
Top