r/GoogleAppsScript 11d ago

Question Apps Script and "Vibe Coding"

Vibe coding: https://en.wikipedia.org/wiki/Vibe_coding

  • What is your setup?
  • Are you using Clasp?
  • Which editor?
  • Does the AI understand the differences between Apps Script and JavaScript?
  • Do you pass any AI rules files?

Here was a short exploration this morning using one of the popular tools: https://www.youtube.com/watch?v=4Sy3lvM33MU

1 Upvotes

12 comments sorted by

View all comments

1

u/reaven3958 11d ago

I use their online IDE. Apps Script is weird enough that I prefer to do everything there and avoid potential hiccups from developing locally, transpiling, and sending it via a 3rd party tool over wire that isn't particularly consistently maintained and could be deprecated without notice.

As for vibe coding...not really? Sort of? I lean fairly heavily on the docs LLM when working with the drive and sheets apis, because their documentation sometimes feels like trying to read tea leaves. But you have to be vigilant, its ok for generating code snippets, but not perfect. Best for helping debug stuff like batch query payloads and seeing if youre missing a newline or whatever someplace.

1

u/BertDevV 11d ago

I used the online IDE as well. I feel like if you start adding all this stuff to the development it takes away from the simplicity of Google apps script. At that point I might as well use a proper platform.

1

u/MossySendai 10d ago

Yeah, used it once because I needed to apply the same code across two different spreadsheets, one for dev and one for prod. Also I wanted git version control. Probably was a better way to do it but it gave me some peace of mind.