A library is a collection of resources providing data and/or services for developing independent software.

learn more… | top users | synonyms (1)

69
votes
14answers
49k views

Why aren't more desktop apps written with Qt? [closed]

As far as I know and have understood in my experience with Qt, it's a very good and easy to learn library. It has a very well designed API and is cross-platform, and these are just two of the many ...
48
votes
3answers
4k views

Why do JavaScript frameworks/libraries have functions which already exist in pure JavaScript?

I wonder why frameworks/libraries have their own helpers although they exist natively already. Let's take jQuery and AngularJS. They have their own each iterator functions: jQuery.each() ...
29
votes
16answers
2k views

Do you have your own 'misc utils' library? What part are you most proud of? [closed]

I know that many of us maintain our own little personal library with tools and utilities that we use often. I've had mine since I was 16 years old so it has grown to quite a considerable size. Some ...
26
votes
15answers
2k views

Does heavy library and code snippet usage make you a bad programmer?

Overall I'm in programming for about 8 years now and it seems to me that I'm relying more and more on open source libraries and snippets (damn you GitHub!) to "get the job done". I know that in time I ...
18
votes
13answers
5k views

What benefits are there to native JavaScript development?

Given how much simpler jQuery development is, when compared to native JavaScript, what makes people forgo libraries like jQuery altogether? Is this because jQuery has limitations or it is slow? I ...
18
votes
3answers
3k views

Is there any Boost equivalent library for C?

Is there any Boost equivalent library for C?
16
votes
12answers
1k views

Is it OK to live without knowing how the program you created works?

I mean, there are really useful libs that can solve problems when you are stuck and do not know how to solve this or that with your knowledge of programming language you use... For example, Boost for ...
15
votes
5answers
2k views

Why don't modern libraries use OOP

I'm a beginner-level C++ programmer, but I understand the concepts of the language fairly well. When I began to learn external C++ libraries, like SDL, OpenGL (maybe something else too), to my great ...
15
votes
12answers
685 views

How to keep your third party libraries up to date?

Let's say that I have a project that depends on 10 libraries, and within my project's trunk I'm free to use any versions of those libraries. So I start with the most recent versions. Then, each of ...
15
votes
7answers
507 views

How do you structure your shared code so that it is “re-findable” for new developers? [duplicate]

I started working at my current job about 8 months ago, and its been one of the best experiences I've had as a young programmer. It's a small company, and both my co-developers are brilliant guys. ...
15
votes
3answers
2k views

Did C++11 address concerns passing std lib objects between dynamic/shared library boundaries? (ie dlls and so)?

One of my major complaints about C++ is how hard in practice it is to pass std library objects outside of dynamic library (ie dll/so) boundaries. The std library is often header-only. Which is great ...
15
votes
4answers
433 views

Does “don't reinvent the wheel” ignore the limits of human memory?

One thing working in Haskell and F# has taught me is that someone in a university smarter than me has probably already found an abstraction for what I'm doing. Likewise in C# and object-oriented ...
13
votes
5answers
672 views

What's the Best Way to Release a Small Open Source JavaScript Library?

I wrote a nice little open source CoffeeScript color library called color. I think it's handy, and I believe other people would find it useful. What's the best approach for letting the world know ...
13
votes
8answers
1k views

Do you tend to write your own name or your company name in your code?

I've been working on various projects at home and at work, and over the years I've developed two main APIs that I use in almost all AJAX based websites. I've compiled both of these into DLLs and ...
13
votes
3answers
1k views

How independent is Clojure from Java?

I am quite new to the Clojure world. I appreciate the fact that one has easy access to all Java libraries via Clojure interop features, but I was wondering how much Clojure stands on its own legs. Of ...
13
votes
2answers
565 views

Should my small software library avoid using other libraries?

I've just released a small Java library that offers only a few classes and methods. Since I built the project with Maven, I immediately used several third-party libraries to achieve my goals, ...
12
votes
14answers
901 views

Which library/framework did you ditch as being too complex for the problem it is solving? [closed]

... and coded the functionality "manually"? As a rather metaphorical example, you'd hardly need a library for solving quadratic equations, although such libraries do exist and someone takes them ...
10
votes
11answers
829 views

Programmers that need a lot of “Outside Help” - Is this bad?

Is it kind of tacky or poor practice when programmers use an unusual amount of libraries/frameworks to accomplish certain tasks? I'm working with someone on a relatively simple programming project ...
10
votes
4answers
491 views

Why do people rewrite some libraries to many programming languages?

There are some libraries, which are available in their versions written in many different programming languages, like for example Lucene, which is written in Java (as they say, 100% pure Java), but ...
9
votes
9answers
504 views

Should developers be expected to compile an internal library before the actual program?

Recently a senior developer that I work with made a case for requiring that developers get the latest version and compile as part of their project a major internal library. This stands in contrast the ...
9
votes
3answers
387 views

Making LISPs manageable

I am trying to learn Clojure, which seems a good candidate for a successful LISP. I have no problem with the concepts, but now I would like to start actually doing something. Here it comes my ...
9
votes
2answers
334 views

What guidelines should I follow while designing a library?

I am working on a Arduino project using the Uno. The project contains a significant amount of code. I would like to create a library and I may even share it later on. What guidelines should I follow ...
8
votes
8answers
574 views

What counts as reinventing the wheel?

Do the following scenarios count as "reinventing the wheel" in your book? A solution exists, but not in the language you want to use, and existing solutions can't be interfaced with the language you ...
8
votes
2answers
799 views

Why is using C++ libraries so complicated?

First of all, I want to note I love C++ and I'm one of those people who thinks it is easier to code in C++ than Java. Except for one tiny thing: libraries. In Java you can simply add some jar to the ...
8
votes
5answers
458 views

Language-agnostic libs every programmer should consider learning? [closed]

Assuming the language provides it, what are some things to do or libs to use that every programmer should know? My list would be Regular Expressions Named Pipes standard IO (std in/out/error) ...
7
votes
4answers
389 views

How can I learn libraries and stuff faster? [duplicate]

As a programmer, it seems like I spend half my time figuring out how to use various libraries/frameworks/tools. First Javascript, then Jquery, then canvas, then Backbone, etc, etc. Every tool has ...
7
votes
6answers
365 views

What core principles would you want in a library?

Theres talk about what syntax and feature you like in a programming language; i'll now ask what core principles or feature would you like in a library in your favorite (or any) language? An example ...
7
votes
2answers
355 views

REST API Library Conventions

Most API libraries define one method for each endpoint. If there is an endpoint for getting user information, you might have a method like: getUserInfo(userId); That simple method is often a ...
7
votes
2answers
1k views

Haskell GUI: how much can be done with Haskell?

I've been wanting to try out graphics in Haskell. From what I've seen, the available libraries are either front-ends to C/C++ libraries, or an abstraction of them with minimal features. The high-level ...
7
votes
2answers
880 views

Questions about linking libraries in C

I am learning C (still very much a beginner) on Linux using the GCC compiler. I have noticed that some libraries, such as the library used with the math.h header, need to be linked in manually when ...
7
votes
1answer
377 views

How do I distribute my scientific software with as few dependencies as possible?

As part of my research, I write a lot of Python and MATLAB code that never needs to be distributed to anyone else. Even if I need to distribute my software, Python and MATLAB, both being interpreted, ...
7
votes
2answers
1k views

Are there open-source JavaScript libraries addressing multiple browser tabs and client state for newer browsers?

There are a few new HTML5 features that have made it into recent browsers that allow sharing state among tabs, browser windows, same domain windows, etc. So it's probably gotten a little easier to ...
6
votes
8answers
671 views

How can I get better at knowing how to write code right off the bat?

I have been programming for around 3-4 years now (completed my degree in CS where we were taught the Java programming language). Now my question is: Do many people find it a difficult task ...
6
votes
3answers
301 views

Few big libraries or many small libraries?

Over the course of some months I've created a little framework for game development that I currently include in all of my projects. The framework depends on SFML, LUA, JSONcpp, and other libraries. ...
6
votes
3answers
401 views

How do you maintain a common library used by different clients?

I am part of a software deveopment team. Originally there were just 2 of us, and two applications. To ease our job we create a set of libraries, handling stuff like GUI, database access, calculation, ...
6
votes
3answers
205 views

How do you decide where functionality should belong in a large-scale project?

In my current development situation, we have a lot of DLLs, executables, and static libraries. How do you decide what should go into a DLL? What should go into an executable? Why have separate ...
6
votes
4answers
414 views

Licensing a JavaScript library

I am developing a free, open-source (duh) JavaScript library, and wondering how to license it. I was considering the GNU GPL, but I heard that I must distribute the license with the software, and I'm ...
6
votes
1answer
418 views

Noda Time vs Joda Time?

In the Noda Time User's Guide, the rationale section states: the public API has been largely rewritten, both to provide an API which is more idiomatic for .NET, and also to rectify some of the ...
6
votes
3answers
291 views

Should public code libraries I have written stay free and open after using them in a contract / commercial product?

I have written a small library of classes in my preferred language (PHP, but it doesn't really matter), and typically use them in most of my projects. Until now, the projects have been personal, or ...
6
votes
3answers
292 views

When to Use Shared Libraries

Note: I'm not sure if this question is more suitable for Stack Overflow or Programmers. The thought process behind putting it here was that it doesn't actually relate to coding itself. I noticed a ...
6
votes
2answers
578 views

How to create and publish a useful Java library

I've recently worked on a Java class that generates permutations per list of objects. In any case, I would like to have this library offered to the public, so I have several questions: Most ...
6
votes
1answer
546 views

Can one edit a built-in Python module?

I'm currently learning Python and I'm at the point in the book about using the Math library. I looked on the Python website and noticed the library was a bit scarce and am writing some more useful ...
6
votes
3answers
342 views

Drawing the line between models & libraries?

As my webapps increase in size, so does the complexity. In order to keep my classes & files structured and easy-to-access, I am starting to get more and more confused: I have some very clearly ...
6
votes
1answer
100 views

Dangers when implementing features as plugins [closed]

What kind of problems have you encountered when building plugin interfaces for your application? And how did you resolve them? Background I want to refactor an application so that various features ...
5
votes
5answers
534 views

Do I have to deliver my utility and helper code to clients?

Over the years I've created a bunch of Java utility and helper libraries which I just attach to new projects. Then, when I deliver code to my clients, I send all the code except for the libraries ...
5
votes
3answers
369 views

Coding Convention: C++ Header/Interface Files

I'm reading through a PDF on C++ programming from this page on Stanford's site. It says that when you're creating a C++ header file for a library interface, use a #ifndef preprocessor command to make ...
5
votes
3answers
345 views

Why do some opensouce libraries lack comments?

I don't know if this happens to most Opensource libraries, but many of I know and use (for example OpenSSL, Webkit, ...) they all lack comments, or contain very few comments. Not to mention their ...
5
votes
6answers
274 views

When writing a library, how much should the end user do?

First off, this question goes beyond my example (don't want this to be too localized or migrated to Stack Overflow) but I've come across this when thinking about something I wanted to try in C so I ...
5
votes
3answers
313 views

Existing buggy code or a brand new one? (From time perspective)

I am facing some issues with a buggy library I currently have and it's used in my current project, I need to finish this project as soon as possible in order to deliver it to our client. However, ...
5
votes
3answers
219 views

Member functions vs. Non-member functions for math operators

I'm writing a linear algebra library (long story short, it's a school assignment) that involves matrices, vectors, etc. In the process of creating this library, I'm going to be creating functions ...