Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

Is there a website to look up common, already written functions?

10 like 1 dislike
I'm sitting here writing a function that I'm positive has been written before, somewhere on earth. It's just too common to have not been attempted, and I'm wondering why I can't just go to a website and search for a function that I can then copy and paste into my project in 2 seconds, instead of wasting my day reinventing the wheel.

Sure there are certain libraries you can use, but where do you find these libraries and when they are absent, is there a site like I'm describing?

Possibly a wiki of some type that contains free code that anybody can edit and improve?

Edit: I can code things fine, I just don't know HOW to do them. So for example, right now, I'm trying to localize a robot/car/point in space. I KNOW there is a way to do it, just based off of range and distance. Triangulation and Trilateration. How to code that is a different story. A site that could have psuedo code, step by step how to do that would be ridiculously helpful. It would also ensure the optimal solution since everybody can edit it. I'm also writing in Matlab, which I hate because it's quirky, adding to my desire for creating a website like I describe.
asked 2 years ago by william (91,210 points)

1 Answer

3 like 0 dislike
 
Best answer
Cutting and pasting code you find on the internet into production code would be like chewing gum found in the street.
With that in mind, try sites that host opensource projects like github, codeplex, code.google.com, etc.
answered 2 years ago by pollard (41,990 points)

Related questions

12 like 0 dislike
1 answer
8 like 0 dislike
1 answer