stuck.devSign in

// when you're stuck

Find the pattern.
Compare the idioms. Keep what works.

A workbench for developers hunting for reference implementations — search vetted open source, reason about trade-offs, and build a personal library you can actually find things in.

Open the workbench
lru cache · O(1) get/put
class LRU<K, V> {
  private m = new Map<K, V>();
  get(k: K) { /* move to MRU */ }
}
type LRU struct {
  ll *list.List
  m  map[K]*list.Element
}  // time O(1) · space O(n)

⌘K code search

Permissively-licensed, high-star GitHub code and standard library sources — previews, signatures, one-click copy.

Multi-language workbench

Describe a problem; get idiomatic TypeScript, Python, Go and Rust side by side with complexity and edge-case analysis.

Personal vault

Save snippets, gists and patterns with tags, then search them by meaning, not just keywords.

Playground

Run JS, TS, Python, Ruby, Lua, Scheme and SQL in a browser sandbox; AI review for 55+ languages.