Yagisanatode
banner
yagisanatode.bsky.social
Yagisanatode
@yagisanatode.bsky.social
@GoogleDevExpert
in #GoogleAppsScript #GoogleWorkspace
Google Apps Script fanatic.
Google Workspace Igor.
Google Sheets groupie.

Coding goat.
Hey, mate. Glad to see you on here with your new hat.
March 28, 2025 at 10:29 AM
In Apps Script library calls are notoriously costly. The other abstracted methods could be moved directly into the process removing the validation steps. Should a reason arise for the method to be reused over multiple processes then I would consider an abstraction and refactor.
February 26, 2025 at 5:08 AM
I also try to stick with DRY, but within reason. The client's code was bogged down by calls to two libraries to which the previous dev abstracted calls. There were also some instances of abstracted methods with complex validations that were only used once or twice with little chance of reuse.
February 26, 2025 at 5:08 AM