Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8082329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T17:03:36+00:00 2026-06-05T17:03:36+00:00

Why are not we using, instead of the actual packages/libraries concepts, a centralized function

  • 0

Why are not we using, instead of the actual packages/libraries concepts, a centralized function database? I can see many advantages.

  1. Easier to grow (anyone could send his small functions, as oposed to the work necessary to sustain a big

  2. Analyzable. Statisticals and graph theory tools could be used to analyze and categorize the database.

  3. Ultimate productivity tool. Suppose you have the task of converting all images in a folder to black-and-white. You could google to search and install image manipulation and os packages for your language, then study then and search for the right functions. The whole process could take a day. Or you could search for an “open images files in a folder” function, a “convert images to black/white” function, and a “save image” function on said global database, and the whole process could take a minute. Now generalize this to any programming task and you can figure out why I find this so important.

Why is this concept not adopted?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T17:03:37+00:00Added an answer on June 5, 2026 at 5:03 pm

    It’s an interesting idea. I think the crux of the matter is this: a well-designed library (or set of libraries) is coherent, in that it carefully chooses a small set of functions, datastructures, and other conventions. This is what lets programmers understand, use, and reuse it.

    A massive function database seems like an attempt to make an incoherent, undesigned mass of functions reusable in the same sense. But I don’t think the hard part of the problem is finding relevant functions in the first place: I’m afraid it’s the sheer combinatorial explosion of arbitrary technical choices (inherent even in moderately simple tasks) that will defeat most attempts at direct reuse (as opposed to pseudocode-like inspiration).

    Take your “open images in a folder” example query, and consider how a possible target function might:

    • identify the folder: directory handle, string, or one of a dozen “path” datastructures
    • choose a particular image: string, pattern match, or one of many interactive UI options
    • handle image formats: e.g., GIF, JPG, PNG, or a variety of polyglot image loader frameworks
    • load the image: unconditionally, header/metadata then body, by tile, by row, or something else
    • represent the image: what datastructure does it use to store the loaded image?
    • use exceptions, errors, or intermediate decision points

    Some of these possibilities can be readily handled by the programmer (assuming the function is properly documented). Some may be patchable (e.g., by finding another function to translate from the framebuffer format provided to one you can use). But others have heavyweight technical implications. An interactive UI file chooser will require the use of a particular UI framework. A polyglot image loader function can pull in dozens of image libraries, and commit you to its memory management scheme.

    To put it another way: “design for reuse” has been the hopeful motto of the software engineer for decades, and our best efforts have met with only modest success. However, long experience has taught us the lesson implicit in the motto: without the “design” part, “reuse” doesn’t stand a chance.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My asp.net application is not using formsauthentication. Instead we make a call to database,
When not using areas dealing with the url for the JsonResults from the clientside
I'm not using hibernate and that's not a valid alternative at all. I developed
Okay so I'm not using any session variables, rather my code looks like this:
[edit] I am NOT using jquery in this app. Looking for a way to
I am not using GraphViz because I am having problems with making it play
I am not using github. We have git setup on our machine. I created
I'm not using LINQ-to-SQL or Entity Framework bits in a web app, and have
I am not using the Settings bundle to store the settings for my app,
I'm not using the default Visual Studio project path to build my program into,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.