Menu
Home
Forums
New posts
Search forums
What's new
New posts
New media
New media comments
New profile posts
Latest activity
Media
New media
New comments
Search media
Members
Current visitors
New profile posts
Search profile posts
Account Upgrades
Advertise
Marketplace
Money
PerfectMoney
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Home
Forums
Programming & Web Design
Programming
General Programming Chat
Programming top tip when working with AI and JS - Just like PBN's LOL
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Kaia" data-source="post: 13366" data-attributes="member: 1723"><p>Just like a good PBN is supposed to be 1 link = 1 website.</p><p></p><p>So I discovered that when programming JS with chatgpt (for WP plugins) its best keep the same rule 1 function = 1 file.</p><p></p><p>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.</p><p></p><p>Also ask chat to drop more logs than the morning after a hot curry, you will never regret it, lol.</p><p></p><p>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.</p></blockquote><p></p>
[QUOTE="Kaia, post: 13366, member: 1723"] 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. [/QUOTE]
Name
Verification
Post reply
Home
Forums
Programming & Web Design
Programming
General Programming Chat
Programming top tip when working with AI and JS - Just like PBN's LOL
Top