Do you reject positional booleans in code review?
Calls like createUser(email, true, false) are hard to read without checking the signature. Do you prefer an options object, or is that overkill for something like setEnabled(true)?Where do…
Calls like createUser(email, true, false) are hard to read without checking the signature. Do you prefer an options object, or is that overkill for something like setEnabled(true)?Where do…
I understand regular API calls, but webhooks are new to me. Is a webhook just another name for a push API, and when would you use one rather…
My API handles balances and other financial amounts from a database and external sources. The decimal precision is known, and integer arithmetic looks easier to maintain than using…
When several people are building the same software project, how should the work be divided so that everyone can work independently while the final product still fits together?…
I'm trying to understand the valid approaches to API versioning and how to distinguish between major, minor, and patch-level changes. In particular, when should a change be treated…
I'm building an app with a mobile client first and an administrative web dashboard later. I have a listings resource, but different callers need different views and DTOs:…
I'm designing a new internal application for a relatively small organizationโprobably a few hundred users at most. Some people will use a conventional web interface and established workflows,…
I work on a small team building internal applications for a few hundred users. I'm starting to architect a new app and need to support people who prefer…
I remember seeing code written in a style like this, but I don't remember what it was called or why it was considered useful. Instead of writing separate…
I'm diving into API design and running into some challenges while trying to build realistic projects. Right now, I have a basic CRUD API that handles Posts and…
I'm working on a web app and want to get some feedback on my current architectural choice. For public pages that don't require any user-specific data, like sections…
I'm currently in the process of designing an API for a web application and I'm considering both REST and GraphQL as options. I know that REST is centered…
I'm having a discussion with a coworker about how best to design our applications, which have multiple endpoints for various functions like a public API with authentication, internal…