CLUTTERED CODE

In this video, learn how to declutter your code and improve readability using Apps Script and AI tools like ChatGPT. Discover practical tips for managing complex scripts and enhancing your coding efficiency.

So you have a cluttered code, or you're trying to code, you're trying to vibe code, you're trying to use ChatGPT or Gemini or whatever, and you're trying to figure out, "How do I keep all the code going? And I'm getting, like, bigger and bigger and longer code, and it's getting cluttered. It's getting hard for AI to do. It's hard for AI to, like, tell me what to do in the code. How do I figure this out?"

Uh, the first thing I would say, though, is go to bettersheets.co and get the course Spreadsheet Automation 101. This is gonna give you a base to run and execute functions inside of Apps Script and be able to start reading.

But I wanna do more. Like, if, if a user wants to add something and they ask me… Like, this week I've been adding some more tools for people. I wanna be able to read this, and I wanna be able to pop it into AI and code it really quickly- So here's my number one best advice: comment a lot.

For functions that are the main functionality of this program and could be expanded upon, break down into small line-by-line edits and add line-by-line code and, and add lots of comments .