Topic

Programming Languages

Hand-picked tutorials, guides and examples on Programming Languages — explained simply.

  • 40 articles
  • 40 min of reading
  • 2 sub-topics
  • 03 Oct, 2026 last updated

Showing 40 articles

GoNew 1 min read

Go for Beginners: Why Go and Your First Program

Go is a small, compiled language designed at Google for building reliable server software. Docker, Kubernetes, Terraform and many cloud tools are written in it. Its appeal is simplicity: a small language, fast builds, a single static binary and great built-in...

03 Oct, 2026 Author 1.42K 70
Read article
PythonNew 1 min read

What's New in Python 3.14

Python 3.14 was released in October 2025. Here are the changes most developers will notice. Template strings (t-strings) A t-string looks like an f-string but produces a Template object instead of a finished string. Libraries can then process the interpolated...

02 Oct, 2026 Author 1.33K 40
Read article
Rust 1 min read

Rust Ownership and Borrowing Explained Simply

Ownership is the idea that makes Rust memory-safe without a garbage collector. It comes down to three rules and two kinds of references. The three ownership rules Each value has exactly one owner (a variable). When the owner goes out of scope, the value is dro...

15 Sep, 2026 Author 1.17K 112
Read article
Go 1 min read

Goroutines and Channels in Go Explained

A goroutine is a lightweight thread managed by the Go runtime. You can run hundreds of thousands of them. Channels let goroutines pass data safely. Start goroutines and wait for them var wg sync.WaitGroup urls := []string{"https://go.dev", "https://pkg.go.dev"...

15 Sep, 2026 Author 612 131
Read article
Python 1 min read

uv: The Fast Python Package and Project Manager

uv is a Python package and project manager written in Rust. It replaces pip, pip-tools, virtualenv, pyenv and pipx with one tool, and it's dramatically faster. Install curl -LsSf https://astral.sh/uv/install.sh | sh # or: pipx install uv, brew install uv Start...

13 Sep, 2026 Author 709 61
Read article
Python 1 min read

Type Hints in Python: A Practical Guide

Type hints don't change how Python runs, but editors and type checkers use them to catch bugs and power autocomplete. Modern Python syntax makes them short and readable. The basics def greet(name: str, times: int = 1) -> str: return ", ".join([f"Hello {name}"]...

26 Aug, 2026 Author 244 35
Read article
Rust 1 min read

Structs, Enums and Pattern Matching in Rust

Rust's enums are far more powerful than enums in most languages: each variant can hold its own data. Combined with match , they let you model states so that invalid ones can't exist. Structs and impl #[derive(Debug, Clone)] struct User { id: u64, name: String,...

10 Aug, 2026 Author 754 61
Read article
Go 1 min read

Build a REST API with Go's Standard Library

Go developers used to reach for a router package as soon as they needed path parameters. Since Go 1.22, the standard http.ServeMux supports HTTP methods and wildcards, which covers most APIs. The server package main import ( "encoding/json" "log" "net/http" "s...

09 Aug, 2026 Author 578 131
Read article
Modern JavaScript 1 min read

Grouping Data with Object.groupBy and Map.groupBy

Grouping a list (orders by status, posts by month, people by team) used to need reduce or lodash. Object.groupBy does it in one line. Object.groupBy const orders = [ { id: 1, status: 'paid', total: 500 }, { id: 2, status: 'pending', total: 250 }, { id: 3, stat...

09 Aug, 2026 Author 1.5K 135
Read article
Rust 1 min read

Traits and Generics in Rust

A trait defines behaviour that types can implement, similar to an interface. Generics let functions work with any type that implements the traits they need. Defining and implementing a trait trait Notifier { fn send(&self, to: &str, message: &str) -> Result<()...

23 Jul, 2026 Author 179 119
Read article
Go 1 min read

Generics in Go: Type Parameters by Example

Generics arrived in Go 1.18. They let you write functions and types that work for many types while staying type-safe, without falling back to interface{} and type assertions. A generic function func Map[T, U any](items []T, fn func(T) U) []U { out := make([]U,...

22 Jul, 2026 Author 365 104
Read article
Rust 1 min read

Async Rust with Tokio: A Beginner-Friendly Guide

Async Rust lets one thread handle thousands of network connections. Rust provides async / await syntax; a runtime such as Tokio actually runs the futures. Setup [dependencies] tokio = { version = "1", features = ["full"] } reqwest = { version = "0.12", feature...

05 Jul, 2026 Author 1.04K 21
Read article
Rust 1 min read

Build a REST API in Rust with Axum

Axum is a popular Rust web framework from the Tokio team. Handlers are plain async functions, and "extractors" in their parameters pull data out of the request in a type-safe way. Dependencies [dependencies] axum = "0.8" tokio = { version = "1", features = ["f...

17 Jun, 2026 Author 976 121
Read article
Go 1 min read

Go Modules and Project Layout

A Go module is a collection of packages versioned together, defined by a go.mod file at its root. go.mod module github.com/acme/shop go 1.25 require ( github.com/jackc/pgx/v5 v5.7.1 golang.org/x/sync v0.10.0 ) Everyday commands go mod init github.com/acme/shop...

29 May, 2026 Author 256 94
Read article
Modern JavaScript 1 min read

JavaScript Closures and Scope Explained

A closure is a function that remembers the variables from the place where it was created, even after that outer function has returned. Closures are behind callbacks, React hooks, module patterns and much more. Lexical scope const greeting = 'Hello'; function o...

29 May, 2026 Author 732 25
Read article
Rust 1 min read

Iterators and Closures in Rust

Iterators are how idiomatic Rust processes collections. They read like a pipeline and compile down to code as fast as a hand-written loop. The basics let prices = vec![499, 1299, 250, 3999]; let affordable: Vec<u32> = prices .iter() // borrow each item .filter...

12 May, 2026 Author 213 75
Read article
Go 1 min read

Iterators in Go: Range Over Functions

Since Go 1.23, for range can loop over functions . This gives Go a standard way to write iterators for custom data structures, database rows or paginated APIs. The iterator types // package iter type Seq[V any] func(yield func(V) bool) type Seq2[K, V any] func...

11 May, 2026 Author 1.05K 32
Read article
Modern JavaScript 1 min read

Debounce and Throttle in JavaScript

Some events fire very often: typing, scrolling, resizing. Running expensive work (an API call, a layout calculation) on every event wastes resources and can make the page janky. Debounce: wait until things calm down Run the function only after the events have...

10 May, 2026 Author 1.38K 97
Read article
Rust 1 min read

What's New in the Rust 2024 Edition

Rust evolves in small releases every six weeks, plus occasional editions that bundle changes which would otherwise break existing code. The 2024 edition shipped with Rust 1.85 in early 2025. Editions don't split the ecosystem Each crate picks its edition in Ca...

24 Apr, 2026 Author 375 127
Read article
Go 1 min read

Structured Logging in Go with log/slog

Plain text logs are hard to search at scale. Structured logs attach key-value fields to each message, so you can filter by user_id or status in your log platform. Go's standard library includes log/slog for this. Getting started import ( "log/slog" "os" ) func...

23 Apr, 2026 Author 969 53
Read article
Modern JavaScript 1 min read

Cancelling Async Work with AbortController

Users navigate away, type a new search or close a dialog while a request is still running. AbortController lets you cancel that work instead of letting it finish uselessly or, worse, overwrite newer results. Cancel a fetch const controller = new AbortControlle...

22 Apr, 2026 Author 681 55
Read article