Skip to main content

Questions tagged [libraries]

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

1 vote
3 answers
245 views

I have a C# library that contains all the logic to send requests to a remote endpoint, including marshalling/unmarshalling and encrypting/decrypting requests and responses. It contains an HttpClient ...
hyt's user avatar
  • 121
2 votes
2 answers
177 views

At our company, we're planning to develop a set of libraries within a mono-repository, with the goal of maintaining a unified version across all of them. This ensures that when teams include our BOM (...
Reddi's user avatar
  • 139
3 votes
1 answer
440 views

The distinction between "library" and "framework" is said to be that you call a library but a framework calls you. "Hollywood principle" and "inversion of control&...
Ignat Insarov's user avatar
-4 votes
1 answer
104 views

Related: Best practice for interoperable TypeScript→JavaScript? - Frameworks, browser extensions Angular, React, Vue, Svelte &etc. exist and are popular. Some use rxjs to flow from HTTP response, ...
Samuel Marks's user avatar
4 votes
5 answers
2k views

Imagine I have many (micro)services each in a separate git repository. Some business logic code is redundant in all of them. If I need to change the logic I would have to change every project, which ...
Florian K.'s user avatar
15 votes
4 answers
5k views

Generally, modules should not have side effects. However, in a lot of cases, the side-effects are hard to avoid or may be desirable. There are also popular packages with on-import side-effects. Which ...
Kaia's user avatar
  • 422
10 votes
5 answers
4k views

I'm writing a .NET library which exposes certain public APIs. Currently, I have not enforced thread safety in my library for following reasons apparent to me: locks (Monitor.Enter and Monitor.Exit) ...
Zombies are Real's user avatar
1 vote
1 answer
328 views

Background I came across this question about whether few big libraries, or many small libraries is better. I tend to agree with the accepted answer, that many small libraries is better. However, since ...
Tyler's user avatar
  • 131
2 votes
1 answer
135 views

I will get to the question in a minute.... We have 2 in house services that either have an API contract between the 2 that involves an enum or the enum value is stored in a shared database. I don't ...
jdtommy's user avatar
  • 129
2 votes
4 answers
510 views

So I am currently coding a C program for Windows and come across a little bit of a problem. I've been compiling using the mingw-w64 toolchain. In my program, I am attempting to remove as many ...
baron's user avatar
  • 55
2 votes
2 answers
625 views

Is trunk-based development (TBD) viable for development of software where versioning, compatibility, long term support and service level agreements (SLA) play a big role for business (e.g. libraries, ...
user avatar
3 votes
1 answer
149 views

We discuss about POSIX compliant shell script here. While we are writing more and more shell scripts, we build some helper functions to reuse the codes. We are considering putting a few helper ...
midnite's user avatar
  • 131
0 votes
2 answers
361 views

I'm using argparse.ArgumentParser extensively; however, it comes with a lot of boilerplate to set up, and this is especially noticeable when you've got more than a few common arguments that probably ...
g_elef's user avatar
  • 19
0 votes
2 answers
108 views

I am currently implementing a library in Rust that implements a proprietary serial protocol. The protocol specifies several enum values, that mostly are returned by the hardware as u8s (bytes), but ...
Richard Neumann's user avatar
0 votes
1 answer
302 views

During development of libraries (mainly for use in internal projects) I have come across the "problem" of how to design them in a generic way. I am going to demonstrate with an example ...
Patrick Wright's user avatar

15 30 50 per page
1
2 3 4 5
27