SDK
SDK
ELI5 — The Vibe Check
An SDK is a toolkit a company gives you so you can build stuff that works with their platform. Instead of figuring out how to talk to Stripe's servers yourself, you use their SDK — a pre-built set of functions that does all the boring work for you.
Real Talk
A Software Development Kit is a collection of tools, libraries, APIs, documentation, and code samples that developers use to build applications for a specific platform or service. SDKs abstract low-level details and accelerate integration.
Show Me The Code
// Using the Stripe SDK instead of raw API calls
import Stripe from "stripe";
const stripe = new Stripe(process.env.STRIPE_SECRET_KEY);
const session = await stripe.checkout.sessions.create({
payment_method_types: ["card"],
line_items: [{ price: "price_xxx", quantity: 1 }],
mode: "payment",
success_url: "https://example.com/success",
});
When You'll Hear This
"Use the official AWS SDK instead of writing raw HTTP calls." / "The iOS SDK handles push notifications for you."
Related Terms
API (Application Programming Interface)
An API is like a menu at a restaurant. The kitchen (server) can do a bunch of things, but you can only order what's on the menu.
Boilerplate
Code you have to write every single time you start a project but that doesn't actually do anything interesting.
Dependency
A dependency is a package your project relies on to work. Your app depends on React to render UI, axios to make requests, and dotenv to read config.
Package
A package is a bundle of code someone else wrote and published so you don't have to reinvent the wheel. Need to parse dates? There's a package for that.