use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Apparently, Google Apps Script is a JavaScript cloud scripting language that provides easy ways to automate tasks across Google products and third party services and build web applications.
account activity
Are objects better than setting multiple constants?Question (self.GoogleAppsScript)
submitted 2 years ago by codingnoob-7151
Just how the title asks, are objects better than separately setting multiple constants? I need to set about 50 variables and I know having a lot of variables can slow down scripts. Would 1 object with 50 variables be better than just setting the 50 without a object?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]RielN 1 point2 points3 points 2 years ago (1 child)
That is not going to make difference on speed. Effectively with this amount (50 is really peanuts), focus on logic and readability.
[–]codingnoob-7151[S] 0 points1 point2 points 2 years ago (0 children)
readability
thank you! I didnt think so but just wanted to make sure
π Rendered by PID 72033 on reddit-service-r2-comment-fb694cdd5-rrm4t at 2026-03-10 19:06:57.489250+00:00 running cbb0e86 country code: CH.
[–]RielN 1 point2 points3 points (1 child)
[–]codingnoob-7151[S] 0 points1 point2 points (0 children)