StackPractices

Tag: functions

Browse 11 practical software engineering resources tagged with "functions". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving functions. Each resource is written for engineers who ship real systems, with copy-paste examples and practical trade-offs.

Functions and Serverless Functions

Functions are the building blocks of clean code. In serverless contexts, they become independently deployable units triggered by events. Both require attention to scope, side effects, testing, and reuse.

The resources below cover function design, pure functions, closures, higher-order functions, serverless function patterns, and testing. Each recipe helps you write functions that are predictable and composable.

Every resource includes clear explanations, copy-paste code, and practical warnings. Use them to make informed decisions, avoid production pitfalls, and speed up your delivery. If you are just getting started, read the beginner-friendly articles first; if you are experienced, jump straight to the advanced patterns and architecture guides. New resources are added regularly, so bookmark this page and check back for the latest patterns.

Build HTTP-Triggered Azure Functions with Python

Create HTTP-triggered Azure Functions in Python with binding configuration, async handlers,...

Minimize Cold Start Latency in Serverless Functions

How to reduce cold start times in AWS Lambda, Azure Functions, and Cloud Run using provisioned...

Build Event-Driven Serverless Architectures

How to design loosely coupled systems using serverless functions triggered by events from message...

Implement Event Sourcing in Serverless Architectures

How to capture all changes as immutable events using event sourcing with AWS Lambda, DynamoDB...

Build Real-Time APIs with WebSockets on Serverless

How to implement bidirectional real-time communication using WebSockets with AWS API Gateway,...

Run Scheduled Jobs with Serverless Functions

How to replace cron jobs with serverless scheduled functions for backups, reporting, cleanup, and...

Build Serverless APIs with API Gateway

How to design, deploy, and manage serverless HTTP APIs using AWS API Gateway, Lambda, and...

Build Serverless Functions

Create and deploy serverless functions with AWS Lambda, Google Cloud Functions, and Azure Functions...

Orchestrate Serverless Workflows with Step Functions and

How to coordinate complex serverless processes using AWS Step Functions, Temporal, and Durable...

Orchestrate Serverless Workflows with AWS Step Functions

Build state machine workflows with AWS Step Functions using sequential, parallel, and map states...

Clean Code: Naming, Functions, Classes, Comments

Master clean code principles: meaningful naming, small functions, single responsibility, comments,...