You are forced to store/manage custom functions redundantly | Any solutions?

You are forced to store/manage custom functions redundantly | Any solutions?

Hello there,

you are forced to store code (custom functions) redundantly if you want to use the same functionality in multiple departments. I don't understand that you can't define global functions. When I make a change to a function I may have to do it very often according to the number of departments.

Is there a solution to the problem? @Community members how do you do it? Do you have any idea for me?

----------------------
Negative aspects summarized:
----------------------

Maintainability: every time you duplicate the same function in different departments, the maintenance work increases significantly. If you need to make a change to that function, you need to make sure that you make that change in every instance of the function. This significantly increases the risk of errors and inconsistencies.

Time and labor: Storing code redundantly requires additional time and labor. Each copy of the function must be created and maintained. This leads to inefficient use of development resources, especially when the same function is used in many departments.

Error-prone: Adding or updating functions across multiple departments can lead to human error. It is easy to forget an instance or not perform an update consistently. This can lead to serious malfunctions or issues.

Consistency: If you use the same function in different departments, it is important to ensure that all instances of that function work consistently. If you have multiple copies of it, it's harder to ensure they're all at the same level.

Resource waste: Redundancy of code also means that more memory is required, as each copy of the function takes up space. Of course, this is not an aspect I care about as a Zoho user, but I thought I'd mention it anyway, even though I could totally care less. :-D

Regards,
Sven

      Zoho Developer Community









                                Zoho Desk Resources

                                • Desk Community Learning Series


                                • Digest


                                • Functions


                                • Meetups


                                • Kbase


                                • Resources


                                • Glossary


                                • Desk Marketplace


                                • MVP Corner


                                • Word of the Day



                                    Zoho Marketing Automation
                                            • Sticky Posts

                                            • Live Webinar - Work smarter with Zoho Desk and Zoho Workplace integration

                                              Hello customers! Zoho Desk and Zoho Workplace are coming together for a webinar on 14th May, 2024. Zoho Workplace is a suite of productivity apps for email, chat, docs, calls, and more at one single place. Zoho Desk is closely integrated with a few tools
                                            • Apple iOS 17 and iPadOS 17 updates for Zoho Desk users

                                              Hello Zoho Desk users! Apple recently announced the release of iOS 17 and iPad OS 17. These latest OS updates will help you stay productive and efficient, through interactive and seamless user experiences. Zoho Desk has incorporated the updates to help
                                            • Zoho Desk Partners with Microsoft's M365 Copilot for seamless customer service experiences

                                              Hello Zoho Desk users, We are happy to announce that Zoho Desk has partnered with Microsoft's M365 to empower customer service teams with enhanced capabilities and seamless experiences for agents. Microsoft announced their partnership during their keynote
                                            • Zoho Desk Cheat Sheet For The Year-End

                                              Check out these Zoho Desk best practices to end this year on a high and have a great one ahead! #1 Set Business (Holiday) Hours - If you have limited working hours, please make sure you restrict your business hours or set them as holidays for the coming days. Let your customers know when you will, and won't, be available. #2 Update the Annual Holiday List - Check the holidays for the new year and update the holiday schedule. Usually, holidays from the current year will be carried over for the next
                                            • Deprecation of older versions of ASAP Mobile SDK | Zoho Desk

                                              Hello, everyone.    Greetings from Zoho Desk ASAP!   In order to continue to deliver the best and most secure experience to our mobile SDK users. On account of the recent enhancements and updates to the mobile SDKs, we have planned to mark the older versions


                                            Manage your brands on social media



                                                  Zoho TeamInbox Resources

                                                    Zoho DataPrep Resources



                                                      Zoho CRM Plus Resources

                                                        Zoho Books Resources


                                                          Zoho Subscriptions Resources

                                                            Zoho Projects Resources


                                                              Zoho Sprints Resources


                                                                Qntrl Resources


                                                                  Zoho Creator Resources


                                                                    Zoho WorkDrive Resources



                                                                      Zoho Campaigns Resources


                                                                        Zoho CRM Resources

                                                                        • CRM Community Learning Series

                                                                          CRM Community Learning Series


                                                                        • Tips

                                                                          Tips

                                                                        • Functions

                                                                          Functions

                                                                        • Meetups

                                                                          Meetups

                                                                        • Kbase

                                                                          Kbase

                                                                        • Resources

                                                                          Resources

                                                                        • Digest

                                                                          Digest

                                                                        • CRM Marketplace

                                                                          CRM Marketplace

                                                                        • MVP Corner

                                                                          MVP Corner





                                                                            Design. Discuss. Deliver.

                                                                            Create visually engaging stories with Zoho Show.

                                                                            Get Started Now